From 9073d8c6d25e19ac3ba631b452e502a0841f3f70 Mon Sep 17 00:00:00 2001 From: lijunru Date: Mon, 23 Jun 2025 11:32:02 +0800 Subject: [PATCH] add libhilog_host Signed-off-by: lijunru Change-Id: I24258ecf42eb776ac65106558e670aa65ee6c49a --- bundle.json | 1 + interfaces/native/innerkits/BUILD.gn | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/bundle.json b/bundle.json index 5e16fc0..66a569b 100644 --- a/bundle.json +++ b/bundle.json @@ -42,6 +42,7 @@ "//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_base", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", + "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_host", "//base/hiviewdfx/hilog/interfaces/rust:hilog_rust", "//base/hiviewdfx/hilog/interfaces/ets/ani:ani_hilog_package" ], diff --git a/interfaces/native/innerkits/BUILD.gn b/interfaces/native/innerkits/BUILD.gn index 8c43d64..9bb67ec 100644 --- a/interfaces/native/innerkits/BUILD.gn +++ b/interfaces/native/innerkits/BUILD.gn @@ -23,6 +23,11 @@ config("libhilog_pub_config") { visibility = [ ":*" ] include_dirs = [ "include" ] } + +group("libhilog_host") { + deps = [ ":libhilog($host_toolchain)" ] +} + if (is_mingw || is_mac || is_linux || is_ohos) { ohos_shared_library("libhilog") { public_configs = [ ":libhilog_pub_config" ] -- Gitee