diff --git a/interfaces/innerkits/common/BUILD.gn b/interfaces/innerkits/common/BUILD.gn index 882ed2afeb400f566595a11f422aaf5d730b377f..71e1bae5f18f538a47a062051e0f2cd9632d55e0 100644 --- a/interfaces/innerkits/common/BUILD.gn +++ b/interfaces/innerkits/common/BUILD.gn @@ -62,6 +62,11 @@ ohos_shared_library("samgr_common") { external_deps = [ "libxml2:libxml2" ] + all_dependent_configs = [ + ":all_config_samgr_common", + "//third_party/libxml2:libxml2_config", + ] + if (is_standard_system) { external_deps += [ "c_utils:utils", diff --git a/interfaces/innerkits/dynamic_cache/BUILD.gn b/interfaces/innerkits/dynamic_cache/BUILD.gn index 2618021c84425c78dfacf139ec8bac66f4aae680..4c5fc7d3efcf2db5feb7fb3d49ac44af8832e151 100644 --- a/interfaces/innerkits/dynamic_cache/BUILD.gn +++ b/interfaces/innerkits/dynamic_cache/BUILD.gn @@ -31,6 +31,7 @@ ohos_static_library("dynamic_cache") { branch_protector_ret = "pac_ret" sources = [ "./src/dynamic_cache.cpp" ] configs = [ "../samgr_proxy:samgr_proxy_config" ] + all_dependent_configs = [ ":dynamic_cache_config" ] public_configs = [ ":dynamic_cache_config" ] if (is_standard_system) { external_deps = [ diff --git a/interfaces/innerkits/samgr_proxy/BUILD.gn b/interfaces/innerkits/samgr_proxy/BUILD.gn index 2d91f5d9c26e1a08e390bf5dfdd8567107352299..852f0b1c840202dd788a197029b3d60ae180bf74 100644 --- a/interfaces/innerkits/samgr_proxy/BUILD.gn +++ b/interfaces/innerkits/samgr_proxy/BUILD.gn @@ -69,6 +69,7 @@ ohos_shared_library("samgr_proxy") { ":lsamgr_proxy_config", ":samgr_proxy_config", ] + all_dependent_configs = [ ":samgr_proxy_config" ] if (is_standard_system) { external_deps = [