diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index a436bcbe69497c901fd3c46dea531ec9062e06bd..f7e926c6a81381dcb8c34ec8d317c58914d7c38a 100755 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -44,6 +44,9 @@ ohos_source_set("libhilog_source") { "//base/hiviewdfx/hilog/frameworks/native:libhilogutil", "//third_party/bounds_checking_function:libsec_shared", ] + + part_name = "hilog_native" + subsystem_name = "hiviewdfx" } config("libhilogutil_config") { diff --git a/interfaces/js/kits/napi/BUILD.gn b/interfaces/js/kits/napi/BUILD.gn index 9579f64d7866d0ea07379efc303f0b619056654d..b01ed13d77eba70fbec3b9a4eb7702e88a0bc813 100644 --- a/interfaces/js/kits/napi/BUILD.gn +++ b/interfaces/js/kits/napi/BUILD.gn @@ -41,6 +41,9 @@ ohos_source_set("libhilognapi_src") { "hilog_native:libhilog", "napi:ace_napi", ] + + subsystem_name = "hiviewdfx" + part_name = "hilog_native" } config("libhilog_js_cfg") {