diff --git a/BUILD.gn b/BUILD.gn index 1311a0b36bb98140c7d709a185862326487115d2..3c2c1897dab6722cf9ae1792aa0c5fe9475cfd2a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -149,8 +149,8 @@ common_deps = [ ":support_elf", ":support_libunwind", ":support_protobuf", + "//third_party/bounds_checking_function:libsec_static", "//third_party/zlib:libz", - "//utils/native/base:utilsecurec", ] 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 3b13b21f58d10e4829ab4a99da3e283e9940f548..a1147e3edc347560d37590ac7d177644886888c0 100644 --- a/bundle.json +++ b/bundle.json @@ -23,7 +23,7 @@ ], "third_party": [ "libz", - "utilsecurec" + "libsec_static" ] }, "build": {