config_policy init编译解耦

Signed-off-by: xiekaiming <xiekaiming2@huawei.com>
This commit is contained in:
xiekaiming
2025-12-03 11:41:41 +08:00
parent 100f59856e
commit bc2c9eb67c
2 changed files with 1 additions and 15 deletions
-4
View File
@@ -54,10 +54,6 @@
]
},
"name": "//base/customization/config_policy/frameworks/config_policy:configpolicy_util"
},
{
"name": "//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static",
"visibility": ["init"]
}
],
"test": [
+1 -11
View File
@@ -58,7 +58,7 @@ if (defined(ohos_lite) && ohos_kernel_type == "liteos_m") {
external_deps = [
"bounds_checking_function:libsec_shared",
"hilog:libhilog_base",
"init:libbegetutil",
"init:libsystemparam",
]
install_images = [
"system",
@@ -72,14 +72,4 @@ if (defined(ohos_lite) && ohos_kernel_type == "liteos_m") {
subsystem_name = "customization"
part_name = "config_policy"
}
ohos_static_library("configpolicy_util_for_init_static") {
sources = config_policy_sources
public_configs = [ ":config_policy_config" ]
external_deps = [
"bounds_checking_function:libsec_shared",
"init:export_headers_lib",
]
subsystem_name = "customization"
part_name = "config_policy"
}
}