diff --git a/bundle.json b/bundle.json index cb83b40b7a363079e4aa1f3e284845d7f4b71c90..778decaba31180979df6c364c27931f7d2373768 100644 --- a/bundle.json +++ b/bundle.json @@ -33,7 +33,9 @@ "hilog", "napi", "init", - "bounds_checking_function" + "bounds_checking_function", + "ipc", + "c_utils" ], "third_party": [] }, diff --git a/interfaces/kits/cj/BUILD.gn b/interfaces/kits/cj/BUILD.gn index 31cbee11f5f1747a0e14b8250ba50aa541369665..ce15bfebe9c784fb1cbe03848f2a38c8939f7dfb 100644 --- a/interfaces/kits/cj/BUILD.gn +++ b/interfaces/kits/cj/BUILD.gn @@ -48,6 +48,9 @@ ohos_shared_library("cj_config_policy_ffi") { if (current_os == "mingw") { defines += [ "WINDOWS_PLATFORM" ] } + + external_deps += [ "c_utils:utils" ] + innerapi_tags = [ "platformsdk" ] subsystem_name = "customization" part_name = "config_policy" diff --git a/interfaces/kits/js/BUILD.gn b/interfaces/kits/js/BUILD.gn index a89952a20ed6abccb1dd6592f6fd784185628746..dd116f0ecff37ec4c7219bd8db560c6efb27e878 100644 --- a/interfaces/kits/js/BUILD.gn +++ b/interfaces/kits/js/BUILD.gn @@ -29,6 +29,7 @@ ohos_shared_library("configpolicy") { external_deps = [ "hilog:libhilog", "hisysevent:libhisysevent", + "ipc:ipc_core", "napi:ace_napi", ] relative_install_dir = "module" @@ -51,9 +52,11 @@ ohos_shared_library("customconfig") { external_deps = [ "ability_runtime:abilitykit_native", "ability_runtime:app_context", + "c_utils:utils", "hilog:libhilog", "hisysevent:libhisysevent", "init:libbegetutil", + "ipc:ipc_core", "napi:ace_napi", ] relative_install_dir = "module/customization"