From debadcbecf1b6967788a099ba60df61d776a0986 Mon Sep 17 00:00:00 2001 From: fengshiyi Date: Wed, 23 Jul 2025 16:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fengshiyi --- BUILD.gn | 2 ++ bundle.json | 2 ++ contacts/BUILD.gn | 1 + contactsCJ/BUILD.gn | 2 ++ 4 files changed, 7 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 823f724..a286e82 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -139,7 +139,9 @@ ohos_shared_library("contactsdataability") { "data_share:datashare_common", "data_share:datashare_provider", "hilog:libhilog", + "ipc:ipc_napi", "ipc:ipc_single", + "jsoncpp:jsoncpp", "napi:ace_napi", "os_account:os_account_innerkits", "relational_store:native_dataability", diff --git a/bundle.json b/bundle.json index f1144ec..713b01e 100644 --- a/bundle.json +++ b/bundle.json @@ -40,11 +40,13 @@ "eventhandler", "hilog", "ipc", + "jsoncpp", "napi", "os_account", "preferences", "relational_store", "safwk", + "samgr", "ace_engine" ], "third_party": [ diff --git a/contacts/BUILD.gn b/contacts/BUILD.gn index d74568c..8582837 100644 --- a/contacts/BUILD.gn +++ b/contacts/BUILD.gn @@ -107,6 +107,7 @@ ohos_shared_library("contact") { "napi:ace_napi", "relational_store:native_dataability", "relational_store:native_rdb", + "samgr:samgr_proxy", ] defines = [ diff --git a/contactsCJ/BUILD.gn b/contactsCJ/BUILD.gn index 0cbe0fe..f81dc67 100644 --- a/contactsCJ/BUILD.gn +++ b/contactsCJ/BUILD.gn @@ -48,9 +48,11 @@ ohos_shared_library("contact_cj") { "data_share:datashare_consumer", "hilog:libhilog", "ipc:ipc_core", + "ipc:ipc_single", "napi:ace_napi", "napi:cj_bind_ffi", "napi:cj_bind_native", + "samgr:samgr_proxy", ] defines = [