change securec path

Signed-off-by: huangyicong <huangyicong4@huawei.com>
This commit is contained in:
huangyicong 2022-03-03 15:16:43 +08:00
parent d56e091c14
commit ff6337f7d7
36 changed files with 38 additions and 38 deletions

View File

@ -58,7 +58,7 @@ ohos_source_set("hiprofiler_base") {
":hiprofiler_test_config",
":hiprofiler_base_config",
]
public_deps = [ "//utils/native/base:utilsecurec" ]
public_deps = [ "//third_party/bounds_checking_function:libsec_static" ]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]
if (build_l2) {

View File

@ -27,8 +27,8 @@ ohos_unittest("hiprofiler_cmd_ut") {
sources = [ "unittest/hiprofiler_cmd_test.cpp" ]
deps = [
"//third_party/boringssl:crypto",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -51,7 +51,7 @@ ohos_source_set("plugins_sources") {
"${OHOS_PROFILER_DIR}/protos/services:service_types_proto",
"../../base:hiprofiler_base",
"//third_party/boringssl:crypto",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
public_configs = [
":hiprofiler_plugins_config",

View File

@ -34,7 +34,7 @@ ohos_shared_library("bytraceplugin") {
public_deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/bytrace_plugin:bytrace_plugin_protos_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -30,7 +30,7 @@ ohos_source_set("cpudataplugin_source") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/cpu_data:cpu_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -28,8 +28,8 @@ ohos_unittest("cpudataplugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/cpu_plugin:cpudataplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/cpu_data:cpu_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -30,7 +30,7 @@ ohos_fuzztest("CpuStartPluginFuzzTest") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/cpu_plugin:cpudataplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/cpu_data:cpu_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
include_dirs = [

View File

@ -30,7 +30,7 @@ ohos_source_set("diskiodataplugin_source") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/diskio_data:diskio_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -28,8 +28,8 @@ ohos_unittest("diskiodataplugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/diskio_plugin:diskiodataplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/diskio_data:diskio_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -30,7 +30,7 @@ ohos_fuzztest("DiskioStartPluginFuzzTest") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/diskio_plugin:diskiodataplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/diskio_data:diskio_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
include_dirs = [

View File

@ -47,7 +47,7 @@ ohos_shared_library("ftrace_plugin") {
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/ftrace_data:ftrace_data_cpp",
"src/event_parsers:ftrace_event_parsers",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines += [ "HAVE_HILOG" ]

View File

@ -44,8 +44,8 @@ ohos_unittest("ftrace_plugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/ftrace_plugin:ftrace_plugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/ftrace_data:ftrace_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -38,7 +38,7 @@ ohos_executable("trace_converter") {
"${OHOS_PROFILER_DIR}/protos/services:service_types_proto",
"${OHOS_PROFILER_DIR}/protos/types/plugins/ftrace_data:ftrace_data_cpp",
"event_formatters:ftrace_event_formatters",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
install_enable = false

View File

@ -30,7 +30,7 @@ ohos_source_set("hilogplugin_source") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/hilog_data:hilog_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -28,8 +28,8 @@ ohos_unittest("hilogplugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/hilog_plugin:hilogplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/hilog_data:hilog_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -30,7 +30,7 @@ ohos_fuzztest("HilogStartPluginFuzzTest") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/hilog_plugin:hilogplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/hilog_data:hilog_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
include_dirs = [

View File

@ -31,7 +31,7 @@ ohos_source_set("memdataplugin_source") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -31,8 +31,8 @@ ohos_unittest("memdataplugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/memory_plugin:memdataplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -30,7 +30,7 @@ ohos_fuzztest("MemoryStartPluginFuzzTest") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/memory_plugin:memdataplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
include_dirs = [

View File

@ -76,9 +76,9 @@ ohos_executable("native_daemon") {
"${OHOS_PROFILER_DIR}/protos/services:plugin_services_proto_static",
"${OHOS_PROFILER_DIR}/protos/services:service_types_proto_static",
"${OHOS_PROFILER_DIR}/protos/types/plugins/native_hook:native_hook_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/libunwind:unwind_source_${target_cpu}",
"//third_party/zlib:libz",
"//utils/native/base:utilsecurec",
]
configs = [ ":cflags_config" ]
public_configs = [

View File

@ -58,11 +58,11 @@ common_deps = [
"${OHOS_PROFILER_DIR}/protos/services:plugin_services_proto_static",
"${OHOS_PROFILER_DIR}/protos/services:service_types_proto_static",
"${OHOS_PROFILER_DIR}/protos/types/plugins/native_hook:native_hook_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libunwind:unwind_source_${target_cpu}",
"//third_party/zlib:libz",
"//utils/native/base:utilsecurec",
]
config("native_daemon_test_config") {

View File

@ -58,8 +58,8 @@ ohos_shared_library("native_hook") {
deps = [
"${OHOS_PROFILER_DIR}/device/services/shared_memory:shared_memory_lite",
"../../base:hiprofiler_base",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/zlib:libz",
"//utils/native/base:utilsecurec",
]
public_deps = [ "//third_party/libunwind:unwind_source_${target_cpu}" ]

View File

@ -50,8 +50,8 @@ ohos_unittest("nativehook_ut") {
"${OHOS_PROFILER_DIR}/device/plugins/native_daemon:native_daemon",
"${OHOS_PROFILER_DIR}/device/plugins/native_hook:native_hook",
"${OHOS_PROFILER_DIR}/protos/types/plugins/native_hook:native_hook_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [

View File

@ -31,7 +31,7 @@ ohos_source_set("networkplugin_source") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/network_data:network_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -28,8 +28,8 @@ ohos_unittest("networkplugin_ut") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/network_plugin:networkplugin",
"${OHOS_PROFILER_DIR}/protos/types/plugins/network_data:network_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../include",

View File

@ -30,7 +30,7 @@ ohos_fuzztest("NetworkStartPluginFuzzTest") {
deps = [
"${OHOS_PROFILER_DIR}/device/plugins/network_plugin:networkplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/network_data:network_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
include_dirs = [

View File

@ -32,7 +32,7 @@ ohos_shared_library("processplugin") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/process_data:process_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -29,7 +29,7 @@ ohos_shared_library("sampleplugin") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/sample_data:sample_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -29,7 +29,7 @@ ohos_shared_library("streamplugin") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"${OHOS_PROFILER_DIR}/protos/types/plugins/stream_data:stream_data_cpp",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]

View File

@ -39,7 +39,7 @@ ohos_source_set("ipc") {
deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf",
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
public_configs = [ "${OHOS_PROFILER_DIR}/device/base:hiprofiler_test_config" ]
}

View File

@ -36,7 +36,7 @@ ohos_shared_library("shared_memory") {
public_deps = [
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf",
"${OHOS_PROFILER_3RDPARTY_PROTOBUF_DIR}:protobuf_lite",
"//utils/native/base:utilsecurec",
"//third_party/bounds_checking_function:libsec_static",
]
install_enable = true
subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}"

View File

@ -31,8 +31,8 @@ ohos_unittest("plugin_module_api_ut") {
"${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp",
"${OHOS_PROFILER_DIR}/protos/types/plugins/sample_data:sample_data_cpp",
"${OHOS_PROFILER_DIR}/protos/types/plugins/stream_data:stream_data_cpp",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../",

View File

@ -51,11 +51,11 @@ ohos_unittest("hiprofiler_ts_ut") {
"${OHOS_MEMORY_PROTO_DIR}:memory_data_cpp",
"${OHOS_SERVICE_PROTO_DIR}:proto_services_cpp",
"../src:trace_streamer_source",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/googletest:gtest_main",
"//third_party/protobuf:protobuf",
"//third_party/protobuf:protobuf_lite",
"//third_party/sqlite:sqlite",
"//utils/native/base:utilsecurec",
]
include_dirs = [
"../src",

View File

@ -60,10 +60,10 @@ ohos_fuzztest("hiprofiler_ts_bytrace_fuzz_test") {
"${OHOS_MEMORY_PROTO_DIR}:memory_data_cpp",
"${OHOS_SERVICE_PROTO_DIR}:proto_services_cpp",
"../../../src:trace_streamer_source",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/protobuf:protobuf",
"//third_party/protobuf:protobuf_lite",
"//third_party/sqlite:sqlite",
"//utils/native/base:utilsecurec",
]
}

View File

@ -60,10 +60,10 @@ ohos_fuzztest("hiprofiler_ts_htrace_fuzz_test") {
"${OHOS_MEMORY_PROTO_DIR}:memory_data_cpp",
"${OHOS_SERVICE_PROTO_DIR}:proto_services_cpp",
"../../../src:trace_streamer_source",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/protobuf:protobuf",
"//third_party/protobuf:protobuf_lite",
"//third_party/sqlite:sqlite",
"//utils/native/base:utilsecurec",
]
}

View File

@ -60,10 +60,10 @@ ohos_fuzztest("hiprofiler_ts_selector_fuzz_test") {
"${OHOS_MEMORY_PROTO_DIR}:memory_data_cpp",
"${OHOS_SERVICE_PROTO_DIR}:proto_services_cpp",
"../../../src:trace_streamer_source",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/protobuf:protobuf",
"//third_party/protobuf:protobuf_lite",
"//third_party/sqlite:sqlite",
"//utils/native/base:utilsecurec",
]
}