diff --git a/frameworks/inner_api/enhance_kits/test/BUILD.gn b/frameworks/inner_api/enhance_kits/test/BUILD.gn index 662fae5b4238e50fa3697ad37f363bda951421db..738e17b01d04acdd901832625cf27031863ac0d3 100644 --- a/frameworks/inner_api/enhance_kits/test/BUILD.gn +++ b/frameworks/inner_api/enhance_kits/test/BUILD.gn @@ -41,6 +41,7 @@ ohos_unittest("sec_comp_enhance_sdk_test") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] } diff --git a/frameworks/inner_api/security_component/BUILD.gn b/frameworks/inner_api/security_component/BUILD.gn index 991a618c544aa931242e58ec127977958f5c3c19..aa50c3069de9c7ecc7e919833c92fd29490065be 100644 --- a/frameworks/inner_api/security_component/BUILD.gn +++ b/frameworks/inner_api/security_component/BUILD.gn @@ -74,8 +74,6 @@ ohos_shared_library("libsecurity_component_sdk") { "samgr:samgr_proxy", ] - public_external_deps = [ "json:nlohmann_json_static" ] - cflags_cc = [ "-DHILOG_ENABLE", "-fvisibility=hidden",