From 793977406f3feaa1d912fe54d70c1ae5344d5e8b Mon Sep 17 00:00:00 2001 From: baoyang Date: Mon, 24 Mar 2025 15:11:39 +0800 Subject: [PATCH] remove public_external_deps Signed-off-by: baoyang Change-Id: Ie57c113ccff635a20b72d76080c2543f72e08d9d --- frameworks/BUILD.gn | 9 +++------ frameworks/enhance_adapter/test/BUILD.gn | 1 + frameworks/inner_api/enhance_kits/BUILD.gn | 1 + frameworks/inner_api/security_component/BUILD.gn | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frameworks/BUILD.gn b/frameworks/BUILD.gn index 584cc15..c06ff02 100644 --- a/frameworks/BUILD.gn +++ b/frameworks/BUILD.gn @@ -94,10 +94,9 @@ ohos_source_set("security_component_enhance_adapter_src_set") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] - public_external_deps = [ "json:nlohmann_json_static" ] - cflags_cc = [ "-DHILOG_ENABLE", "-fvisibility=hidden", @@ -124,10 +123,9 @@ ohos_source_set("security_component_enhance_adapter_service_src_set") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] - public_external_deps = [ "json:nlohmann_json_static" ] - cflags_cc = [ "-DHILOG_ENABLE", "-fvisibility=hidden", @@ -193,10 +191,9 @@ ohos_source_set("security_component_no_cfi_enhance_adapter_src_set") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] - public_external_deps = [ "json:nlohmann_json_static" ] - cflags_cc = [ "-DHILOG_ENABLE", "-fvisibility=hidden", diff --git a/frameworks/enhance_adapter/test/BUILD.gn b/frameworks/enhance_adapter/test/BUILD.gn index 911b679..76b7be0 100644 --- a/frameworks/enhance_adapter/test/BUILD.gn +++ b/frameworks/enhance_adapter/test/BUILD.gn @@ -38,6 +38,7 @@ ohos_unittest("sec_comp_enhance_adapter_test") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] } diff --git a/frameworks/inner_api/enhance_kits/BUILD.gn b/frameworks/inner_api/enhance_kits/BUILD.gn index f147db4..7a1fea9 100644 --- a/frameworks/inner_api/enhance_kits/BUILD.gn +++ b/frameworks/inner_api/enhance_kits/BUILD.gn @@ -82,6 +82,7 @@ ohos_source_set("security_component_no_cfi_enhance_sdk_src_set") { "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", + "json:nlohmann_json_static", ] cflags_cc = [ diff --git a/frameworks/inner_api/security_component/BUILD.gn b/frameworks/inner_api/security_component/BUILD.gn index e308835..c5ad087 100644 --- a/frameworks/inner_api/security_component/BUILD.gn +++ b/frameworks/inner_api/security_component/BUILD.gn @@ -67,6 +67,7 @@ ohos_shared_library("libsecurity_component_sdk") { "hilog:libhilog", "hisysevent:libhisysevent", "ipc:ipc_core", + "json:nlohmann_json_static", "samgr:samgr_proxy", ] -- Gitee