!250 修复 LOG 接口未定义问题

Merge pull request !250 from suwenxiang/master
This commit is contained in:
openharmony_ci
2022-11-24 06:40:27 +00:00
committed by Gitee
+3 -1
View File
@@ -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" ]