From 57a306c751a379863a531b2ec69b98a8108ad6ae Mon Sep 17 00:00:00 2001 From: huangyicong Date: Thu, 17 Feb 2022 14:47:36 +0800 Subject: [PATCH 1/2] change securec path Signed-off-by: huangyicong --- BUILD.gn | 8 ++++---- bundle.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 1311a0b..6cf040e 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -150,7 +150,7 @@ common_deps = [ ":support_libunwind", ":support_protobuf", "//third_party/zlib:libz", - "//utils/native/base:utilsecurec", + "//third_party/bounds_checking_function:libsec_static", ] if (!hiperf_use_libunwind) { @@ -158,8 +158,8 @@ if (!hiperf_use_libunwind) { } if (is_ohos) { - common_deps += [ "//utils/native/base:utilsecurec_shared" ] - common_deps -= [ "//utils/native/base:utilsecurec" ] + common_deps += [ "//third_party/bounds_checking_function:libsec_shared" ] + common_deps -= [ "//third_party/bounds_checking_function:libsec_static" ] } if (hiperf_target_static) { @@ -251,7 +251,7 @@ ohos_source_set("support_protobuf") { public_configs += [ ":protobuf_config" ] public_deps = [ ":proto_file_cpp", - "//utils/native/base:utilsecurec", + "//third_party/bounds_checking_function:libsec_static", ] sources = [ "./src/report_protobuf_file.cpp" ] diff --git a/bundle.json b/bundle.json index 3b13b21..a1147e3 100644 --- a/bundle.json +++ b/bundle.json @@ -23,7 +23,7 @@ ], "third_party": [ "libz", - "utilsecurec" + "libsec_static" ] }, "build": { -- Gitee From ce10a09de099322a046861d6bc102cca297b667f Mon Sep 17 00:00:00 2001 From: huangyicong Date: Thu, 17 Feb 2022 15:41:57 +0800 Subject: [PATCH 2/2] already format Signed-off-by: huangyicong --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 6cf040e..3c2c189 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -149,8 +149,8 @@ common_deps = [ ":support_elf", ":support_libunwind", ":support_protobuf", - "//third_party/zlib:libz", "//third_party/bounds_checking_function:libsec_static", + "//third_party/zlib:libz", ] if (!hiperf_use_libunwind) { -- Gitee