diff --git a/bundle.json b/bundle.json index 59934be4607c30df6be5eab2f05e9cd5e5705d94..a04855388c69aacab321c9cf9668594f523dfdcd 100644 --- a/bundle.json +++ b/bundle.json @@ -25,7 +25,9 @@ "ability_base", "access_token", "bundle_framework", + "cJSON", "c_utils", + "dsoftbus", "hisysevent", "hilog", "i18n", @@ -36,6 +38,7 @@ "resource_management", "safwk", "samgr", + "selinux_adapter", "common_event_service", "device_manager", "hicollie", diff --git a/dbms.gni b/dbms.gni index b5375a5a724e3ae97e513739110ae5815336d2fe..7c577a5d5fe54f4141c58400a4e785b41ab99175 100644 --- a/dbms.gni +++ b/dbms.gni @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 2022-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -19,6 +19,7 @@ dbms_inner_api_path = "${bundlemanager_path}/distributed_bundle_framework/interfaces/inner_api" dbms_services_path = "${bundlemanager_path}/distributed_bundle_framework/services/dbms" +distributeddatamgr_path = "//foundation/distributeddatamgr" kits_path = "${bundle_framework_path}/interfaces/kits" declare_args() { diff --git a/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn b/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn index b56587855a9a980b84f92cc4fcc5241401672a45..1ee5cde08ce998ec3d531db743a03be6d9ae9f31 100644 --- a/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn +++ b/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2022-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -22,6 +22,7 @@ ohos_unittest("DbmsServicesKitTest") { "${dbms_inner_api_path}/include", "${dbms_services_path}/include", "${bundle_framework_path}/services/bundlemgr/include", + "${distributeddatamgr_path}/kv_store/interfaces/innerkits/distributeddata/include", ] sources = [ @@ -50,6 +51,7 @@ ohos_unittest("DbmsServicesKitTest") { "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "bundle_framework:libappexecfwk_common", + "cJSON:cjson", "c_utils:utils", "common_event_service:cesfwk_innerkits", "device_manager:devicemanagersdk", @@ -63,6 +65,7 @@ ohos_unittest("DbmsServicesKitTest") { "resource_management:global_resmgr", "safwk:system_ability_fwk", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", ] defines = [] if (current_cpu == "arm64") {