fix: syscap_codec 安全函数不合理依赖治理

Signed-off-by: cuican <cuican23@huawei.com>
This commit is contained in:
cuican
2025-12-05 16:41:47 +08:00
parent 6018bb92f9
commit 0c5d7c9017
2 changed files with 10 additions and 4 deletions
+5 -2
View File
@@ -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",
]
+5 -2
View File
@@ -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",
]
}
}