add hilog:libhilog dep

Signed-off-by: lixing0101 <lixing141@huawei.com>
This commit is contained in:
lixing0101 2023-12-29 14:10:49 +08:00
parent 1382e9a802
commit 036bc5a66c
4 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,7 @@ ohos_prebuilt_etc("hitrace.cfg") {
ohos_executable("hitrace_example") {
sources = [ "example/hitrace_example.cpp" ]
deps = [ "../interfaces/native/innerkits:hitrace_meter" ]
external_deps = [ "hilog:libhilog" ]
install_enable = false
subsystem_name = "hiviewdfx"
part_name = "hitrace"

View File

@ -22,6 +22,7 @@ ohos_shared_library("hitrace_ndk") {
sources = [ "hitrace_meter_ndk.c" ]
deps = [ "../../interfaces/native/innerkits:hitrace_meter" ]
external_deps = [ "hilog:libhilog" ]
innerapi_tags = [ "ndk" ]
part_name = "hitrace"

View File

@ -27,6 +27,7 @@ ohos_shared_library("hitracechain_c_wrapper") {
"../../../interfaces/native/innerkits:libhitracechain",
"//third_party/bounds_checking_function:libsec_static",
]
external_deps = [ "hilog:libhilog" ]
output_extension = "so"

View File

@ -138,6 +138,7 @@ ohos_shared_library("hitrace_meter") {
":libhitracechain",
"//third_party/bounds_checking_function:libsec_static",
]
external_deps = [ "hilog:libhilog" ]
output_extension = "so"
innerapi_tags = [