mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
临时回退hilog_base修改
Signed-off-by: ganchuantao <ganchuantao1@huawei.com> Change-Id: Id40ba44591dd7477533a411d235b5036d72f2b24
This commit is contained in:
parent
e1600c119c
commit
5444e3e578
@ -84,6 +84,6 @@ ohos_source_set("hiprofiler_base") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_HILOG
|
||||
#include "hilog_base/log_base.h"
|
||||
#include "hilog/log.h"
|
||||
#include <string>
|
||||
#else // HAVE_HILOG
|
||||
#include <mutex>
|
||||
|
@ -39,7 +39,7 @@ ohos_unittest("hiprofiler_base_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ ohos_executable("hiprofiler_cmd") {
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -65,7 +65,7 @@ ohos_unittest("hiprofiler_cmd_ut") {
|
||||
"googletest:gtest",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -61,7 +61,7 @@ ohos_source_set("plugins_sources") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -86,7 +86,7 @@ ohos_executable("hiprofiler_plugins") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -54,7 +54,7 @@ ohos_unittest("hiprofiler_plugins_ut") {
|
||||
"googletest:gtest",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginCreateSessionCmdFuzzTest") {
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
if (is_asan) {
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginDestroySessionCmdFuzzTest") {
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
if (is_asan) {
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginStartSessionCmdFuzzTest") {
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
if (is_asan) {
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("PluginStopSessionCmdFuzzTest") {
|
||||
"../../..:plugins_sources",
|
||||
]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
if (is_asan) {
|
||||
|
@ -41,7 +41,7 @@ ohos_source_set("arkts_source") {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -59,7 +59,7 @@ ohos_shared_library("arktsplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
]
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ ohos_unittest("arktsplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
sleep(SLEEP_TIME); // Wait for the application to start successfully.
|
||||
const std::string processName = "cn.openharmony.rebound_project";
|
||||
COMMON::IsProcessExist(processName, pid_);
|
||||
HILOG_BASE_INFO(LOG_CORE, "ArkTSPluginTest pid: %d", pid_);
|
||||
HILOG_INFO(LOG_CORE, "ArkTSPluginTest pid: %d", pid_);
|
||||
}
|
||||
~ArkTSPluginTest() {}
|
||||
static void SetUpTestCase() {}
|
||||
|
@ -35,7 +35,7 @@ ohos_shared_library("bytraceplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ ohos_source_set("cpudataplugin_source") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -51,7 +51,7 @@ ohos_shared_library("cpudataplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
install_enable = true
|
||||
@ -73,7 +73,7 @@ ohos_executable("cpudataplugintest") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ ohos_unittest("cpudataplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -32,7 +32,7 @@ ohos_fuzztest("CpuStartPluginFuzzTest") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
include_dirs = [
|
||||
|
@ -37,7 +37,7 @@ ohos_source_set("diskiodataplugin_source") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -52,7 +52,7 @@ ohos_shared_library("diskiodataplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
install_enable = true
|
||||
@ -75,7 +75,7 @@ ohos_executable("diskiodataplugintest") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("diskiodataplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -32,7 +32,7 @@ ohos_fuzztest("DiskioStartPluginFuzzTest") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
include_dirs = [
|
||||
|
@ -63,7 +63,7 @@ ohos_shared_library("libffrt_profiler") {
|
||||
|
||||
defines = []
|
||||
if (current_toolchain != host_toolchain) {
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
install_images = [
|
||||
|
@ -56,7 +56,7 @@ ohos_source_set("ffrt_profiler_service") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -183,7 +183,7 @@ void FfrtProfilerManager::StopFfrtProfiler()
|
||||
|
||||
for (const auto& item : ffrtCtx_) {
|
||||
if (item->eventPoller != nullptr) {
|
||||
HILOG_BASE_ERROR(LOG_CORE, "eventPoller unset!");
|
||||
HILOG_ERROR(LOG_CORE, "eventPoller unset!");
|
||||
if (item->eventNotifier != nullptr) {
|
||||
item->eventPoller->RemoveFileDescriptor(item->eventNotifier->GetFd());
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ ohos_executable("ffrt_profiler_test_exe") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
install_enable = false
|
||||
@ -90,7 +90,7 @@ ohos_unittest("ffrt_profiler_ut") {
|
||||
|
||||
external_deps = [
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -50,7 +50,7 @@ ohos_source_set("ftrace_plugin_source") {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_client",
|
||||
"init:libbegetutil",
|
||||
"protobuf:protobuf_lite",
|
||||
@ -67,7 +67,7 @@ ohos_shared_library("ftrace_plugin") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_client",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
|
@ -59,7 +59,7 @@ ohos_unittest("ftrace_plugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_client",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -34,7 +34,7 @@ ohos_source_set("ftrace_event_formatters") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf",
|
||||
]
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ ohos_source_set("ftrace_event_parsers") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ ohos_source_set("gpudataplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -50,7 +50,7 @@ ohos_shared_library("gpudataplugin") {
|
||||
deps = [ ":gpudataplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
@ -70,7 +70,7 @@ ohos_executable("gpudataplugintest") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("gpudataplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -35,7 +35,7 @@ ohos_source_set("hidumpplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -50,7 +50,7 @@ ohos_shared_library("hidumpplugin") {
|
||||
deps = [ ":hidumpplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("hidumpplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -32,7 +32,7 @@ ohos_fuzztest("HidumpStartPluginFuzzTest") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -40,7 +40,7 @@ ohos_source_set("hiebpfplugin_source") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -59,7 +59,7 @@ ohos_shared_library("hiebpfplugin") {
|
||||
"HAVE_HILOG",
|
||||
"LITE_PROTO",
|
||||
]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -37,7 +37,7 @@ ohos_source_set("hilogplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -50,7 +50,7 @@ ohos_shared_library("hilogplugin") {
|
||||
deps = [ ":hilogplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("hilogplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -32,7 +32,7 @@ ohos_fuzztest("HilogStartPluginFuzzTest") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
include_dirs = [
|
||||
|
@ -46,7 +46,7 @@ ohos_source_set("hiperfplugin_source") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -63,7 +63,7 @@ ohos_shared_library("hiperfplugin") {
|
||||
"HAVE_HILOG",
|
||||
"LITE_PROTO",
|
||||
]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("hiperfplugin_ut") {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -49,7 +49,7 @@ ohos_fuzztest("HiperfStartPluginFuzzTest") {
|
||||
defines = [ "LITE_PROTO" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -37,7 +37,7 @@ ohos_source_set("hisyseventplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -50,7 +50,7 @@ ohos_shared_library("hisyseventplugin") {
|
||||
deps = [ ":hisyseventplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("hisyseventplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -42,7 +42,7 @@ ohos_source_set("memdataplugin_source") {
|
||||
"c_utils:utils",
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"hidumper:lib_dump_usage",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_utility",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -59,7 +59,7 @@ ohos_shared_library("memdataplugin") {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
install_enable = true
|
||||
@ -77,7 +77,7 @@ ohos_executable("memorytest") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
install_enable = false
|
||||
|
@ -49,7 +49,7 @@ ohos_unittest("memdataplugin_ut") {
|
||||
"c_utils:utils",
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_utility",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -81,7 +81,7 @@ ohos_unittest("smaps_stats_ut") {
|
||||
"c_utils:utils",
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_utility",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -35,7 +35,7 @@ ohos_fuzztest("MemoryStartPluginFuzzTest") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_utility",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -143,7 +143,7 @@ ohos_executable("native_daemon") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
use_exceptions = true
|
||||
install_enable = true
|
||||
@ -176,7 +176,7 @@ ohos_executable("native_daemon_client") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = false
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
@ -211,7 +211,7 @@ ohos_shared_library("libnative_daemon_client") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
|
@ -32,7 +32,7 @@
|
||||
__LINE__, __FUNCTION__, ##__VA_ARGS__
|
||||
|
||||
#ifndef CONFIG_NO_HILOG
|
||||
#include "hilog_base/log_base.h"
|
||||
#include "hilog/log.h"
|
||||
|
||||
static constexpr unsigned int BASE_HIPERF_DOMAIN_ID = 0xD000000;
|
||||
static constexpr unsigned int HITRACE_TAG = 0xd03301;
|
||||
|
@ -98,7 +98,7 @@ ohos_unittest("native_memory_profiler_sa_ut") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
|
@ -73,7 +73,7 @@ void DebugLogger::HiLog(std::string &buffer) const
|
||||
if (lastLF != std::string::npos) {
|
||||
buffer.erase(lastLF, 1);
|
||||
}
|
||||
HILOG_BASE_DEBUG(LOG_CORE, "%{public}s", buffer.c_str());
|
||||
HILOG_DEBUG(LOG_CORE, "%{public}s", buffer.c_str());
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "dfx_symbols.h"
|
||||
#include "dwarf_encoding.h"
|
||||
#include "utilities.h"
|
||||
#include "logging.h"
|
||||
|
||||
using namespace OHOS::HiviewDFX;
|
||||
using namespace std::chrono;
|
||||
|
@ -134,7 +134,7 @@ ohos_unittest("native_daemon_ut") {
|
||||
defines = [ "ENABLE_HAP_EXTRACTOR" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
using namespace std;
|
||||
using namespace OHOS::HiviewDFX;
|
||||
namespace OHOS {
|
||||
namespace Developtools {
|
||||
namespace NativeDaemon {
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
using namespace std;
|
||||
using namespace OHOS::HiviewDFX;
|
||||
|
||||
namespace OHOS {
|
||||
namespace Developtools {
|
||||
|
@ -17,7 +17,7 @@
|
||||
#define HIPERF_DEBUG_TEST
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <hilog_base/log_base.h>
|
||||
#include <hilog/log.h>
|
||||
|
||||
#include "debug_logger.h"
|
||||
#include "utilities.h"
|
||||
|
@ -16,7 +16,7 @@
|
||||
#define HASHLIST_TEST_H
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <hilog_base/log_base.h>
|
||||
#include <hilog/log.h>
|
||||
|
||||
#include "hashlistpp.h"
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#define HIPERF_FILE_FORMAT_TEST_H
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <hilog_base/log_base.h>
|
||||
#include <hilog/log.h>
|
||||
|
||||
#include "perf_file_format.h"
|
||||
#include "perf_event_record.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
#define HIPERF_REGISTER_TEST
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <hilog_base/log_base.h>
|
||||
#include <hilog/log.h>
|
||||
|
||||
#include "debug_logger.h"
|
||||
#include "register.h"
|
||||
|
@ -16,6 +16,6 @@
|
||||
#ifndef HIPERF_UTILITIES_TEST_H
|
||||
#define HIPERF_UTILITIES_TEST_H
|
||||
#include <gtest/gtest.h>
|
||||
#include <hilog_base/log_base.h>
|
||||
#include <hilog/log.h>
|
||||
|
||||
#endif
|
@ -19,6 +19,7 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
using namespace std;
|
||||
using namespace OHOS::HiviewDFX;
|
||||
namespace OHOS {
|
||||
namespace Developtools {
|
||||
namespace NativeDaemon {
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
using namespace std;
|
||||
using namespace OHOS::HiviewDFX;
|
||||
namespace OHOS {
|
||||
namespace Developtools {
|
||||
namespace NativeDaemon {
|
||||
|
@ -76,7 +76,7 @@ ohos_source_set("native_hook_source") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
part_name = "${OHOS_PROFILER_PART_NAME}"
|
||||
@ -93,7 +93,7 @@ ohos_shared_library("native_hook") {
|
||||
deps = [ ":native_hook_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
version_script = "libnative_hook.map"
|
||||
install_enable = true
|
||||
@ -110,7 +110,7 @@ ohos_executable("nativetest_c") {
|
||||
if (use_musl && !is_asan) {
|
||||
defines += [ "HOOK_ENABLE" ]
|
||||
}
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
cflags = [
|
||||
"-Wno-error=inline-asm",
|
||||
@ -129,7 +129,7 @@ ohos_executable("nativetest_cpp") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
@ -149,7 +149,7 @@ ohos_shared_library("nativetest_so") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
@ -168,7 +168,7 @@ ohos_executable("malloctest_cpp") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
@ -188,7 +188,7 @@ ohos_executable("perf_test_data") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [ "-Wno-error=inline-asm" ]
|
||||
@ -204,7 +204,7 @@ ohos_executable("statisticstest_cpp") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
cflags = [
|
||||
|
@ -1190,7 +1190,7 @@ int hook_prctl(int(*fn)(int, ...),
|
||||
rawdata.addr = reinterpret_cast<void*>(arg3);
|
||||
size_t tagLen = strlen(reinterpret_cast<char*>(arg5)) + 1;
|
||||
if (memcpy_s(rawdata.name, sizeof(rawdata.name), reinterpret_cast<char*>(arg5), tagLen) != EOK) {
|
||||
HILOG_BASE_ERROR(LOG_CORE, "memcpy_s tag failed");
|
||||
HILOG_ERROR(LOG_CORE, "memcpy_s tag failed");
|
||||
}
|
||||
rawdata.name[sizeof(rawdata.name) - 1] = '\0';
|
||||
std::weak_ptr<HookSocketClient> weakClient = g_hookClient;
|
||||
|
@ -184,7 +184,7 @@ void HookSocketClient::DisableHook()
|
||||
{
|
||||
bool expected = false;
|
||||
if (g_disableHook.compare_exchange_strong(expected, true, std::memory_order_release, std::memory_order_relaxed)) {
|
||||
HILOG_BASE_INFO(LOG_CORE, "%s", __func__);
|
||||
HILOG_INFO(LOG_CORE, "%s", __func__);
|
||||
if (disableHookCallback_) {
|
||||
disableHookCallback_();
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ ohos_unittest("nativehook_ut") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"faultloggerd:libunwinder",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -38,7 +38,7 @@ ohos_source_set("networkplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -50,7 +50,7 @@ ohos_shared_library("networkplugin") {
|
||||
deps = [ ":networkplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -44,7 +44,7 @@ ohos_unittest("networkplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -33,7 +33,7 @@ ohos_fuzztest("NetworkStartPluginFuzzTest") {
|
||||
]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
include_dirs = [
|
||||
|
@ -64,7 +64,7 @@ ohos_shared_library("libnetwork_profiler") {
|
||||
|
||||
defines = []
|
||||
if (current_toolchain != host_toolchain) {
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
install_enable = true
|
||||
|
@ -113,7 +113,7 @@ void NetworkProfilerSocketClient::DisableHook()
|
||||
{
|
||||
bool expected = false;
|
||||
if (g_disableHook.compare_exchange_strong(expected, true, std::memory_order_release, std::memory_order_relaxed)) {
|
||||
HILOG_BASE_INFO(LOG_CORE, "%s %p", __func__, disableHookCallback_);
|
||||
HILOG_INFO(LOG_CORE, "%s %p", __func__, disableHookCallback_);
|
||||
if (disableHookCallback_ != nullptr) {
|
||||
disableHookCallback_();
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ ohos_source_set("network_profiler_service") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -184,7 +184,7 @@ void NetworkProfilerManager::StopNetworkProfiler()
|
||||
|
||||
for (const auto& item : networkCtx_) {
|
||||
if (item->eventPoller != nullptr) {
|
||||
HILOG_BASE_ERROR(LOG_CORE, "eventPoller unset!");
|
||||
HILOG_ERROR(LOG_CORE, "eventPoller unset!");
|
||||
if (item->eventNotifier != nullptr) {
|
||||
item->eventPoller->RemoveFileDescriptor(item->eventNotifier->GetFd());
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ ohos_source_set("processplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -51,7 +51,7 @@ ohos_shared_library("processplugin") {
|
||||
deps = [ ":processplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -42,7 +42,7 @@ ohos_unittest("processplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
|
@ -34,7 +34,7 @@ ohos_shared_library("sampleplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ ohos_source_set("streamplugin_source") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -47,7 +47,7 @@ ohos_shared_library("streamplugin") {
|
||||
deps = [ ":streamplugin_source" ]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [ "hilog:libhilog_base" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
install_enable = true
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -35,7 +35,7 @@ ohos_shared_library("xpowerplugin") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -67,7 +67,7 @@ ohos_executable("xpowerdecoder") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"cJSON:cjson_static",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -56,7 +56,7 @@ ohos_unittest("xpowerplugin_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -39,7 +39,7 @@ ohos_source_set("ipc") {
|
||||
|
||||
if (current_toolchain != host_toolchain) {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ ohos_unittest("ipc_ut") {
|
||||
]
|
||||
external_deps = [
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -41,7 +41,7 @@ ohos_source_set("hiprofiler_plugin_service") {
|
||||
if (current_toolchain != host_toolchain) {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -39,7 +39,7 @@ ohos_unittest("plugin_service_ut") {
|
||||
"abseil-cpp:absl_sync",
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
@ -64,7 +64,7 @@ ohos_unittest("plugin_service_module_test") {
|
||||
external_deps = [
|
||||
"abseil-cpp:absl_sync",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -59,7 +59,7 @@ ohos_source_set("profiler_service") {
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
if (current_toolchain != host_toolchain) {
|
||||
external_deps += [ "hilog:libhilog_base" ]
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
|
||||
}
|
||||
@ -102,7 +102,7 @@ ohos_executable("hiprofilerd") {
|
||||
"grpc:gpr",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -62,7 +62,7 @@ ohos_unittest("profiler_service_ut") {
|
||||
"googletest:gtest",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerCreateSessionFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerDestroySessionFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -42,7 +42,7 @@ ohos_fuzztest("ProfilerFetchDataFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerGetCapabilitiesFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerKeepSessionFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerStartSessionFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ ohos_fuzztest("ProfilerStopSessionFuzzTest") {
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"grpc:grpc",
|
||||
"grpc:grpcxx",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"openssl:libcrypto_shared",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
@ -37,7 +37,7 @@ ohos_source_set("shared_memory_source") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -51,7 +51,7 @@ ohos_shared_library("shared_memory") {
|
||||
defines = [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
}
|
||||
@ -76,7 +76,7 @@ ohos_static_library("shared_memory_lite") {
|
||||
defines += [ "HAVE_HILOG" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ ohos_unittest("shared_memory_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -53,7 +53,7 @@ ohos_unittest("hiebpf_ut") {
|
||||
external_deps = [
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"googletest:gtest",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
configs = [ ":module_private_config" ]
|
||||
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"
|
||||
|
@ -59,7 +59,7 @@ ohos_unittest("plugin_module_api_ut") {
|
||||
"drivers_interface_memorytracker:libmemorytracker_proxy_1.0",
|
||||
"googletest:gtest",
|
||||
"hidumper:lib_dump_usage",
|
||||
"hilog:libhilog_base",
|
||||
"hilog:libhilog",
|
||||
"hiview:libucollection_utility",
|
||||
"protobuf:protobuf_lite",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user