diff --git a/bundle.json b/bundle.json index 5e16fc0055c0c4a1d6765a91f99f2e69f311e370..66a569b61aa11adf42c5d6c7855ce9c8d82d0627 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 8c43d64c7b31362a4dd531b5daab86a461ee3f37..9bb67ec28337d4187c8750ef6223a69278cd7467 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" ]