mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2025-02-18 15:20:56 +00:00
hilog部件名整改
Signed-off-by: mashaohua7 <mashaohua7@huawei.com>
This commit is contained in:
parent
9eccea677f
commit
a7d135deda
2
BUILD.gn
2
BUILD.gn
@ -191,7 +191,7 @@ ohos_source_set("hiperf_platform_common") {
|
||||
"bundle_framework:appexecfwk_base",
|
||||
"bundle_framework:appexecfwk_core",
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
"ipc:ipc_core",
|
||||
"samgr:samgr_proxy",
|
||||
|
@ -19,7 +19,7 @@
|
||||
"ram": "2000KB",
|
||||
"deps": {
|
||||
"components": [
|
||||
"hiviewdfx_hilog_native",
|
||||
"hilog",
|
||||
"napi",
|
||||
"samgr",
|
||||
"ipc",
|
||||
|
@ -31,7 +31,7 @@ ohos_shared_library("hiperf_client") {
|
||||
if (is_linux) {
|
||||
defines += [ "CONFIG_NO_HILOG" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
subsystem_name = "developtools"
|
||||
@ -46,7 +46,7 @@ ohos_static_library("hiperf_client_static") {
|
||||
if (is_linux) {
|
||||
defines += [ "CONFIG_NO_HILOG" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
subsystem_name = "developtools"
|
||||
|
@ -30,7 +30,7 @@ ohos_shared_library("hiperf_client_napi") {
|
||||
deps = [ "${innerkits_path}/native:hiperf_client" ]
|
||||
|
||||
external_deps = [
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"napi:ace_napi",
|
||||
]
|
||||
|
||||
|
@ -94,7 +94,7 @@ ohos_unittest("hiperf_unittest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "unittest/resource/ohos_test.xml"
|
||||
deps = common_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
cflags = [
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
@ -124,7 +124,7 @@ ohos_fuzztest("CommandLineFuzzTest") {
|
||||
configs = [ ":hiperf_test_config" ]
|
||||
cflags = fuzz_cflags
|
||||
deps = fuzz_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
defines = [ "FUZZER_TEST" ]
|
||||
sources = [
|
||||
"${hiperf_path}/src/main.cpp",
|
||||
@ -138,7 +138,7 @@ ohos_fuzztest("LibReportFuzzTest") {
|
||||
configs = [ ":hiperf_test_config" ]
|
||||
cflags = fuzz_cflags
|
||||
deps = fuzz_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
defines = [ "FUZZER_TEST" ]
|
||||
sources = [ "fuzztest/libreport_fuzzer/LibReport_fuzzer.cpp" ]
|
||||
}
|
||||
@ -149,7 +149,7 @@ ohos_fuzztest("ClientApiFuzzTest") {
|
||||
configs = [ ":hiperf_test_config" ]
|
||||
cflags = fuzz_cflags
|
||||
deps = fuzz_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
defines = [ "FUZZER_TEST" ]
|
||||
sources = [ "fuzztest/clientapi_fuzzer/ClientApi_fuzzer.cpp" ]
|
||||
}
|
||||
@ -161,7 +161,7 @@ ohos_fuzztest("PerfFileFuzzTest") {
|
||||
configs = [ ":hiperf_test_config" ]
|
||||
cflags = fuzz_cflags
|
||||
deps = fuzz_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
defines = [ "FUZZER_TEST" ]
|
||||
sources = [ "fuzztest/perffile_fuzzer/PerfFile_fuzzer.cpp" ]
|
||||
}
|
||||
@ -173,7 +173,7 @@ ohos_fuzztest("ElfParserFuzzTest") {
|
||||
configs = [ ":hiperf_test_config" ]
|
||||
cflags = fuzz_cflags
|
||||
deps = fuzz_deps
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
defines = [ "FUZZER_TEST" ]
|
||||
sources = [ "fuzztest/elfparser_fuzzer/ElfParser_fuzzer.cpp" ]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user