From f81a57c88bb15cfe87c7595078ac96e79c9b0bd0 Mon Sep 17 00:00:00 2001 From: sunjiakun Date: Mon, 11 Nov 2024 16:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunjiakun --- bundle.json | 3 +++ dbms.gni | 3 ++- services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bundle.json b/bundle.json index 59934be..a048553 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 b5375a5..7c577a5 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 b565878..1ee5cde 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") { -- Gitee