From 54d3e60e72714777dc5a63607fd15dca3460953e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E6=B3=A5=E5=B0=8F=E5=89=91=E5=85=B3?= Date: Thu, 25 Jul 2024 19:53:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dconfig=5Fpolicy=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E7=BC=96=E8=AF=91=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 青泥小剑关 --- bundle.json | 3 ++- interfaces/kits/cj/BUILD.gn | 3 +++ interfaces/kits/js/BUILD.gn | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index cb83b40..b5c0977 100644 --- a/bundle.json +++ b/bundle.json @@ -33,7 +33,8 @@ "hilog", "napi", "init", - "bounds_checking_function" + "bounds_checking_function", + "ipc" ], "third_party": [] }, diff --git a/interfaces/kits/cj/BUILD.gn b/interfaces/kits/cj/BUILD.gn index 31cbee1..ce15bfe 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 a89952a..dd116f0 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" -- Gitee From aa82ed2e9b081235bb061d0c737ac77a15fd0d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E6=B3=A5=E5=B0=8F=E5=89=91=E5=85=B3?= Date: Thu, 25 Jul 2024 12:12:21 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=81=97=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 青泥小剑关 --- bundle.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index b5c0977..778deca 100644 --- a/bundle.json +++ b/bundle.json @@ -34,7 +34,8 @@ "napi", "init", "bounds_checking_function", - "ipc" + "ipc", + "c_utils" ], "third_party": [] }, -- Gitee