From 938c58fad617fb51ab483a34cd64bd9210411596 Mon Sep 17 00:00:00 2001 From: renhongwei Date: Tue, 18 Oct 2022 10:09:25 +0800 Subject: [PATCH] arkui across platform Signed-off-by: renhongwei --- base/BUILD.gn | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/base/BUILD.gn b/base/BUILD.gn index c51b8ea..4354719 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -65,7 +65,9 @@ sources_utils = [ ohos_static_library("utilsbase") { sources = sources_utils all_dependent_configs = [ ":utils_all_dependent_configs" ] - defines = [ "CONFIG_HILOG" ] + if (current_os != "android" && current_os != "ios") { + defines = [ "CONFIG_HILOG" ] + } external_deps = [ "hilog_native:libhilog_base" ] public_deps = [ "//third_party/bounds_checking_function:libsec_static" ] @@ -77,7 +79,9 @@ ohos_static_library("utilsbase_rtti") { visibility = [ "//foundation/multimedia/histreamer/engine/plugin/plugins/source/video_capture:std_video_capture" ] sources = sources_utils all_dependent_configs = [ ":utils_all_dependent_configs" ] - defines = [ "CONFIG_HILOG" ] + if (current_os != "android" && current_os != "ios") { + defines = [ "CONFIG_HILOG" ] + } external_deps = [ "hilog_native:libhilog_base" ] public_deps = [ "//third_party/bounds_checking_function:libsec_static" ] remove_configs = [ "//build/config/compiler:no_rtti" ] @@ -89,7 +93,9 @@ ohos_static_library("utilsbase_rtti") { ohos_shared_library("utils") { sources = sources_utils all_dependent_configs = [ ":utils_all_dependent_configs" ] - defines = [ "CONFIG_HILOG" ] + if (current_os != "android" && current_os != "ios") { + defines = [ "CONFIG_HILOG" ] + } external_deps = [ "hilog_native:libhilog_base" ] public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -- Gitee