From b874f8182e8f3576f8dbf72cf2905e7d1855bc90 Mon Sep 17 00:00:00 2001 From: quguiren Date: Tue, 26 Sep 2023 13:31:23 +0800 Subject: [PATCH] fixed 40e1854 from https://gitee.com/qugrsoft/hiviewdfx_hilog/pulls/468 hilog static dependency library Signed-off-by: quguiren --- interfaces/native/innerkits/BUILD.gn | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/interfaces/native/innerkits/BUILD.gn b/interfaces/native/innerkits/BUILD.gn index dd7fe42..9023a14 100644 --- a/interfaces/native/innerkits/BUILD.gn +++ b/interfaces/native/innerkits/BUILD.gn @@ -58,21 +58,7 @@ if (is_mingw || is_mac || is_linux || is_ohos) { template("libhilog") { forward_variables_from(invoker, "*") - if (current_os == "android") { - ohos_shared_library(target_name) { - public_configs = [ ":libhilog_pub_config" ] - deps = [ "../../../platform:libhilog_platform_source_$platform" ] - - install_enable = !hilog_native_feature_ohcore - install_images = [ - "system", - "updater", - ] - - part_name = "hilog" - subsystem_name = "hiviewdfx" - } - } else if (current_os == "ios") { + if (current_os == "android" || current_os == "ios") { ohos_static_library(target_name) { public_configs = [ ":libhilog_pub_config" ] deps = [ "../../../platform:libhilog_platform_source_$platform" ] -- Gitee