From ad4a685e614775c30635c447b953b40a186e8892 Mon Sep 17 00:00:00 2001 From: BruceXuXu Date: Wed, 6 Dec 2023 06:42:10 +0000 Subject: [PATCH] fix buffer_handler Signed-off-by: BruceXuXu Change-Id: I79f3e8155f4ebd9a524f3e6c08b893cc97fdf38e --- buffer_handle/BUILD.gn | 1 + buffer_handle/test/unittest/BUILD.gn | 1 + bundle.json | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buffer_handle/BUILD.gn b/buffer_handle/BUILD.gn index a222302..9717c23 100644 --- a/buffer_handle/BUILD.gn +++ b/buffer_handle/BUILD.gn @@ -34,6 +34,7 @@ config("buffer_handle_public_config") { "../../../../base/hiviewdfx/hilog/interfaces/native/innerkits", "../../../../base/notification/eventhandler/interfaces/inner_api", "../../../../foundation/graphic/graphic_2d/utils/log", + "../../../../foundation/graphic/graphic_surface/surface/include", ] } diff --git a/buffer_handle/test/unittest/BUILD.gn b/buffer_handle/test/unittest/BUILD.gn index c86ae04..676ec27 100644 --- a/buffer_handle/test/unittest/BUILD.gn +++ b/buffer_handle/test/unittest/BUILD.gn @@ -37,6 +37,7 @@ ohos_unittest("BufferHandleTest") { ## Build buffer_handle_test_common.a {{{ config("buffer_handle_test_config") { + include_dirs = [ "../../../surface/include" ] cflags = [ "-Wall", "-Werror", diff --git a/bundle.json b/bundle.json index 65b92f6..79976d2 100644 --- a/bundle.json +++ b/bundle.json @@ -70,8 +70,8 @@ "header": { "header_files": [ "buffer_handle_parcel.h", - "buffer_handle_utils.h", - "buffer_handle.h" + "buffer_handle.h", + "buffer_handle_utils.h" ], "header_base": "//foundation/graphic/graphic_surface/interfaces/inner_api/utils" } -- Gitee