diff --git a/bundle.json b/bundle.json index cf2c9933ec771c0651d7a5e771c6c9b379b32783..10893eecb5be54be8db3088aed5bf513b1f43ca3 100644 --- a/bundle.json +++ b/bundle.json @@ -25,7 +25,8 @@ "hisysevent", "hilog", "napi", - "init" + "init", + "bounds_checking_function" ], "third_party": [ "bounds_checking_function" @@ -44,6 +45,16 @@ ] }, "name": "//base/customization/config_policy/frameworks/config_policy:configpolicy_util" + }, + { + "header": { + "header_base": "//base/customization/config_policy/interfaces/inner_api/include", + "header_files": [ + "config_policy_utils.h" + ] + }, + "name": "//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static", + "visibility": ["init"] } ], "test": [ diff --git a/interfaces/kits/js/BUILD.gn b/interfaces/kits/js/BUILD.gn index 2ef63286431b4ec1d21bcd01faf8e7fcfcf17ee3..215ed48a60b739c578373e60f7eebf63d156938b 100644 --- a/interfaces/kits/js/BUILD.gn +++ b/interfaces/kits/js/BUILD.gn @@ -17,7 +17,6 @@ ohos_shared_library("configpolicy") { include_dirs = [ "include", "../../../interfaces/inner_api/include", - "//third_party/bounds_checking_function/include", "../../../frameworks/dfx/hisysevent_adapter", ] @@ -28,6 +27,7 @@ ohos_shared_library("configpolicy") { deps = [ "../../../frameworks/config_policy:configpolicy_util" ] external_deps = [ + "bounds_checking_function:libsec_shared", "hilog:libhilog", "hisysevent:libhisysevent", "napi:ace_napi",