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 = [