From a4e42834fd64c4cf3227b716e06bf2f406f70361 Mon Sep 17 00:00:00 2001 From: suwenxiang Date: Tue, 22 Nov 2022 12:00:30 +0800 Subject: [PATCH] Description: Fix the undefined problem of HASH LOG interface IssueNo: https://gitee.com/openharmony/graphic_utils/issues/I62ERZ Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: suwenxiang --- BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 8e5f017..ea1dd2e 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -40,7 +40,10 @@ lite_library("graphic_utils") { } else { target_type = "shared_library" } + include_dirs = [ "frameworks" ] if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") { + include_dirs += + [ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ] cflags = [ "--diag_suppress", "Pe068,Pa089,Pa093,Pe161,Pe181,Pa205,Pe223", @@ -76,7 +79,6 @@ lite_library("graphic_utils") { "frameworks/transform.cpp", "frameworks/version.cpp", ] - include_dirs = [ "frameworks" ] public_configs = [ ":graphic_utils_public_config" ] if (ohos_kernel_type == "liteos_m") { deps = [ "//third_party/bounds_checking_function:libsec_static" ]