From 0c5d7c9017f20ec6575b319fd5abe91f0d8e4ff1 Mon Sep 17 00:00:00 2001 From: cuican Date: Fri, 5 Dec 2025 16:41:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20syscap=5Fcodec=20=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=8D=E5=90=88=E7=90=86=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E6=B2=BB=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cuican --- BUILD.gn | 7 +++++-- test/unittest/common/BUILD.gn | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e658c77..4ebd078 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -103,7 +103,10 @@ if (defined(ohos_lite)) { deps += [ "//build/lite/config/component/cJSON:cjson_static", - "//third_party/bounds_checking_function:libsec_static", + ] + + external_deps = [ + "bounds_checking_function:libsec_shared", ] } } @@ -127,7 +130,7 @@ if (defined(ohos_lite)) { "./src/common_method.c", ] external_deps = [ - "bounds_checking_function:libsec_static", + "bounds_checking_function:libsec_shared", "cJSON:cjson_static", ] diff --git a/test/unittest/common/BUILD.gn b/test/unittest/common/BUILD.gn index ea89fb0..6f019a3 100644 --- a/test/unittest/common/BUILD.gn +++ b/test/unittest/common/BUILD.gn @@ -48,10 +48,13 @@ if (defined(ohos_lite)) { defines = [ "NAPI_TEST" ] deps = [ - "//build/lite/config/component/cJSON:cjson_static", "//test/testfwk/developer_test/third_party/lib/cpp:gtest_main", - "//third_party/bounds_checking_function:libsec_static", + "//build/lite/config/component/cJSON:cjson_static" ] + + external_deps = [ + "bounds_checking_function:libsec_shared", + ] } }