mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 06:50:12 +00:00
!996 修改profiler依赖的hilog部件名
Merge pull request !996 from wenlong_12/profiler0620
This commit is contained in:
commit
ada78a1abf
39
bundle.json
39
bundle.json
@ -25,36 +25,35 @@
|
||||
"ram": "2000KB",
|
||||
"deps": {
|
||||
"components": [
|
||||
"hiviewdfx_hilog_native",
|
||||
"ability_runtime",
|
||||
"ability_base",
|
||||
"common",
|
||||
"zlib",
|
||||
"hidumper",
|
||||
"bundle_framework",
|
||||
"hiview",
|
||||
"bounds_checking_function",
|
||||
"ipc",
|
||||
"init",
|
||||
"hilog_native",
|
||||
"napi",
|
||||
"samgr",
|
||||
"bundle_framework",
|
||||
"common",
|
||||
"common_event_service",
|
||||
"c_utils",
|
||||
"faultloggerd",
|
||||
"common_event_service",
|
||||
"hidumper",
|
||||
"hilog",
|
||||
"hiview",
|
||||
"ipc",
|
||||
"init",
|
||||
"napi",
|
||||
"safwk",
|
||||
"selinux"
|
||||
"samgr",
|
||||
"selinux",
|
||||
"zlib"
|
||||
],
|
||||
"third_party": [
|
||||
"googletest",
|
||||
"utils",
|
||||
"zlib",
|
||||
"bounds_checking_function",
|
||||
"protobuf",
|
||||
"openssl",
|
||||
"libbpf",
|
||||
"googletest",
|
||||
"grpc",
|
||||
"thirdparty_selinux"
|
||||
"libbpf",
|
||||
"openssl",
|
||||
"protobuf",
|
||||
"thirdparty_selinux",
|
||||
"utils",
|
||||
"zlib"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
|
@ -84,10 +84,6 @@ ohos_source_set("hiprofiler_base") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps += [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ ohos_unittest("hiprofiler_base_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ ohos_unittest("hiprofiler_cmd_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -60,11 +60,7 @@ ohos_source_set("plugins_sources") {
|
||||
"${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config",
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
|
||||
}
|
||||
@ -84,11 +80,7 @@ ohos_executable("hiprofiler_plugins") {
|
||||
sources = [ "src/main.cpp" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -47,7 +47,7 @@ ohos_unittest("hiprofiler_plugins_ut") {
|
||||
"unittest/writer_adapter_test.cpp",
|
||||
]
|
||||
configs = [ ":cflags_config" ]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginCreateSessionCmdFuzzTest") {
|
||||
#"${OHOS_PROFILER_DIR}/device/services/profiler_service:profiler_service",
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginDestroySessionCmdFuzzTest") {
|
||||
#"${OHOS_PROFILER_DIR}/device/services/profiler_service:profiler_service",
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginStartSessionCmdFuzzTest") {
|
||||
#"${OHOS_PROFILER_DIR}/device/services/profiler_service:profiler_service",
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginStopSessionCmdFuzzTest") {
|
||||
#"${OHOS_PROFILER_DIR}/device/services/profiler_service:profiler_service",
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -38,11 +38,7 @@ ohos_shared_library("bytraceplugin") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = false
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -36,11 +36,7 @@ ohos_source_set("cpudataplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
@ -71,11 +67,7 @@ ohos_executable("cpudataplugintest") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = false
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -44,7 +44,7 @@ ohos_unittest("cpudataplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("diskiodataplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
@ -70,11 +66,7 @@ ohos_executable("diskiodataplugintest") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = false
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -44,7 +44,7 @@ ohos_unittest("diskiodataplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -53,11 +53,7 @@ ohos_source_set("ftrace_plugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -61,7 +61,7 @@ ohos_unittest("ftrace_plugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("ftrace_event_formatters") {
|
||||
if (!is_mingw) {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs =
|
||||
[ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
|
@ -30,11 +30,7 @@ ohos_source_set("ftrace_event_parsers") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -33,11 +33,7 @@ ohos_source_set("hidumpplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("hidumpplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -32,11 +32,7 @@ ohos_source_set("hiebpfplugin_source") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("hilogplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("hilogplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -39,11 +39,7 @@ ohos_source_set("hiperfplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -44,7 +44,7 @@ ohos_unittest("hiperfplugin_ut") {
|
||||
]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("hisyseventplugin_source") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("hisyseventplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("memdataplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
@ -68,11 +64,7 @@ ohos_executable("memorytest") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = false
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -48,7 +48,7 @@ ohos_unittest("memdataplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
@ -76,7 +76,7 @@ ohos_unittest("smaps_stats_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
resource_config_file = "${OHOS_PROFILER_DIR}/device/ohos_test.xml"
|
||||
|
@ -94,11 +94,7 @@ ohos_executable("native_daemon") {
|
||||
external_deps = [ "init:libbegetutil" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps += [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
use_exceptions = true
|
||||
install_enable = true
|
||||
|
@ -121,7 +121,7 @@ ohos_unittest("native_daemon_ut") {
|
||||
}
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,11 +69,7 @@ ohos_source_set("native_hook_source") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps += [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
@ -103,11 +99,7 @@ ohos_executable("nativetest_c") {
|
||||
if (use_musl && !is_asan) {
|
||||
defines += [ "HOOK_ENABLE" ]
|
||||
}
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
include_dirs = [ "//third_party/bounds_checking_function/include" ]
|
||||
deps = [ "//third_party/bounds_checking_function:libsec_static" ]
|
||||
@ -127,11 +119,7 @@ ohos_executable("nativetest_cpp") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
@ -151,11 +139,7 @@ ohos_shared_library("nativetest_so") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
@ -174,11 +158,7 @@ ohos_executable("malloctest_cpp") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
include_dirs = [ "//third_party/bounds_checking_function/include" ]
|
||||
@ -200,11 +180,7 @@ ohos_executable("perf_test_data") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [ "-Wno-error=inline-asm" ]
|
||||
|
@ -74,7 +74,7 @@ ohos_unittest("nativehook_ut") {
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -37,11 +37,7 @@ ohos_source_set("networkplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ ohos_unittest("networkplugin_ut") {
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
resource_config_file = "${OHOS_PROFILER_DIR}/device/ohos_test.xml"
|
||||
|
@ -35,11 +35,7 @@ ohos_source_set("processplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("processplugin_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -33,11 +33,7 @@ ohos_shared_library("sampleplugin") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
install_enable = false
|
||||
|
@ -32,11 +32,7 @@ ohos_source_set("streamplugin_source") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
@ -35,11 +35,7 @@ ohos_source_set("ipc") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps += [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
deps = [
|
||||
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite_static",
|
||||
|
@ -48,7 +48,7 @@ ohos_unittest("ipc_ut") {
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
|
@ -39,10 +39,6 @@ ohos_source_set("hiprofiler_plugin_service") {
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
deps = [ "../../base:hiprofiler_base" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("plugin_service_ut") {
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ ohos_unittest("plugin_service_module_test") {
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
|
@ -52,11 +52,7 @@ ohos_source_set("profiler_service") {
|
||||
"${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config",
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
if (build_l2) {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
|
||||
}
|
||||
@ -93,11 +89,7 @@ ohos_executable("hiprofilerd") {
|
||||
"../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
if (build_l2) {
|
||||
external_deps = [ "shared_library:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -58,7 +58,7 @@ ohos_unittest("profiler_service_ut") {
|
||||
]
|
||||
configs = [ ":cflags_config" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerCreateSessionFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerDestroySessionFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -38,7 +38,7 @@ ohos_fuzztest("ProfilerFetchDataFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerGetCapabilitiesFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerKeepSessionFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerStartSessionFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -37,7 +37,7 @@ ohos_fuzztest("ProfilerStopSessionFuzzTest") {
|
||||
"../../..:profiler_service",
|
||||
"../../../../plugin_service:hiprofiler_plugin_service",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -41,17 +41,10 @@ ohos_source_set("shared_memory_source") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"shared_library:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
@ -78,17 +71,10 @@ ohos_static_library("shared_memory_lite") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
if (build_l2) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"shared_library::libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -45,7 +45,7 @@ ohos_unittest("shared_memory_ut") {
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
"-Dprotected=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ ohos_source_set("libhidebug_source") {
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ ohos_shared_library("hidebug") {
|
||||
"bundle_framework:appexecfwk_core",
|
||||
"c_utils:utils",
|
||||
"hidumper:lib_dump_usage",
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"napi:ace_napi",
|
||||
"samgr:samgr_proxy",
|
||||
|
@ -30,7 +30,7 @@ ohos_shared_library("libhidebug") {
|
||||
}
|
||||
|
||||
external_deps = [
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
|
||||
|
@ -54,7 +54,7 @@ ohos_unittest("hiebpf_ut") {
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Dprivate=public", #allow test code access private members
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
|
Loading…
Reference in New Issue
Block a user