diff --git a/frameworks/inner_api/enhance_kits/test/BUILD.gn b/frameworks/inner_api/enhance_kits/test/BUILD.gn index 662fae5..738e17b 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 991a618..aa50c30 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",