153c3577eSopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 253c3577eSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 353c3577eSopenharmony_ci# you may not use this file except in compliance with the License. 453c3577eSopenharmony_ci# You may obtain a copy of the License at 553c3577eSopenharmony_ci# 653c3577eSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 753c3577eSopenharmony_ci# 853c3577eSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 953c3577eSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1053c3577eSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1153c3577eSopenharmony_ci# See the License for the specific language governing permissions and 1253c3577eSopenharmony_ci# limitations under the License. 1353c3577eSopenharmony_ciimport("//build/ohos_var.gni") 1453c3577eSopenharmony_ciimport("//build/test.gni") 1553c3577eSopenharmony_ciimport("//foundation/distributeddatamgr/datamgr_service/datamgr_service.gni") 1653c3577eSopenharmony_ci 1753c3577eSopenharmony_cimodule_output_path = "datamgr_service/distributeddatafwk" 1853c3577eSopenharmony_ci 1953c3577eSopenharmony_ci############################################################################### 2053c3577eSopenharmony_ciconfig("module_private_config") { 2153c3577eSopenharmony_ci visibility = [ ":*" ] 2253c3577eSopenharmony_ci 2353c3577eSopenharmony_ci include_dirs = [ 2453c3577eSopenharmony_ci "${device_manager_path}/interfaces/inner_kits/native_cpp/include", 2553c3577eSopenharmony_ci "../include/", 2653c3577eSopenharmony_ci "../../service/bootstrap/include/", 2753c3577eSopenharmony_ci "../../service/common/", 2853c3577eSopenharmony_ci "../../service/rdb/", 2953c3577eSopenharmony_ci "../../../../../relational_store/interfaces/inner_api/rdb/include", 3053c3577eSopenharmony_ci "../../../../../relational_store/interfaces/inner_api/common_type/include", 3153c3577eSopenharmony_ci "${kv_store_distributeddb_path}/interfaces/include", 3253c3577eSopenharmony_ci "${kv_store_distributeddb_path}/include", 3353c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatasvc/include", 3453c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatafwk/include", 3553c3577eSopenharmony_ci "${kv_store_common_path}", 3653c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatafwk/src", 3753c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/kvdb/include", 3853c3577eSopenharmony_ci "${kv_store_path}/interfaces/innerkits/distributeddata/include", 3953c3577eSopenharmony_ci "${data_service_path}/adapter/include", 4053c3577eSopenharmony_ci "${data_service_path}/framework/include", 4153c3577eSopenharmony_ci "${data_service_path}/service/config/include", 4253c3577eSopenharmony_ci "${data_service_path}/app/src", 4353c3577eSopenharmony_ci "${data_service_path}/adapter/include/account", 4453c3577eSopenharmony_ci "${data_service_path}/app/src/security", 4553c3577eSopenharmony_ci "${data_service_path}/service/crypto/include", 4653c3577eSopenharmony_ci "${data_service_path}/service/matrix/include", 4753c3577eSopenharmony_ci "${data_service_path}/service/waterversion", 4853c3577eSopenharmony_ci "//third_party/json/single_include", 4953c3577eSopenharmony_ci ] 5053c3577eSopenharmony_ci ldflags = [ "-Wl,--whole-archive" ] 5153c3577eSopenharmony_ci defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ] 5253c3577eSopenharmony_ci} 5353c3577eSopenharmony_ci 5453c3577eSopenharmony_ciohos_unittest("CheckerManagerTest") { 5553c3577eSopenharmony_ci module_out_path = module_output_path 5653c3577eSopenharmony_ci sources = [ "checker_manager_test.cpp" ] 5753c3577eSopenharmony_ci 5853c3577eSopenharmony_ci configs = [ ":module_private_config" ] 5953c3577eSopenharmony_ci 6053c3577eSopenharmony_ci external_deps = [ 6153c3577eSopenharmony_ci "access_token:libaccesstoken_sdk", 6253c3577eSopenharmony_ci "access_token:libnativetoken", 6353c3577eSopenharmony_ci "c_utils:utils", 6453c3577eSopenharmony_ci "hilog:libhilog", 6553c3577eSopenharmony_ci "ipc:ipc_core", 6653c3577eSopenharmony_ci ] 6753c3577eSopenharmony_ci 6853c3577eSopenharmony_ci deps = [ 6953c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter:distributeddata_adapter", 7053c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker:distributeddata_checker_static", 7153c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework:distributeddatasvcfwk", 7253c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service:distributeddatasvc", 7353c3577eSopenharmony_ci "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata:distributeddata_inner", 7453c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 7553c3577eSopenharmony_ci "//third_party/openssl:libcrypto_shared", 7653c3577eSopenharmony_ci ] 7753c3577eSopenharmony_ci} 7853c3577eSopenharmony_ci 7953c3577eSopenharmony_ciohos_unittest("EventCenterTest") { 8053c3577eSopenharmony_ci module_out_path = module_output_path 8153c3577eSopenharmony_ci sources = [ "event_center_test.cpp" ] 8253c3577eSopenharmony_ci 8353c3577eSopenharmony_ci configs = [ ":module_private_config" ] 8453c3577eSopenharmony_ci 8553c3577eSopenharmony_ci external_deps = [ 8653c3577eSopenharmony_ci "c_utils:utils", 8753c3577eSopenharmony_ci "hilog:libhilog", 8853c3577eSopenharmony_ci "ipc:ipc_core", 8953c3577eSopenharmony_ci ] 9053c3577eSopenharmony_ci 9153c3577eSopenharmony_ci deps = [ 9253c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter:distributeddata_adapter", 9353c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework:distributeddatasvcfwk", 9453c3577eSopenharmony_ci "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata:distributeddata_inner", 9553c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 9653c3577eSopenharmony_ci ] 9753c3577eSopenharmony_ci} 9853c3577eSopenharmony_ci 9953c3577eSopenharmony_ciohos_unittest("SerializableTest") { 10053c3577eSopenharmony_ci module_out_path = module_output_path 10153c3577eSopenharmony_ci 10253c3577eSopenharmony_ci sources = [ "serializable_test.cpp" ] 10353c3577eSopenharmony_ci 10453c3577eSopenharmony_ci configs = [ ":module_private_config" ] 10553c3577eSopenharmony_ci 10653c3577eSopenharmony_ci external_deps = [ 10753c3577eSopenharmony_ci "ability_base:base", 10853c3577eSopenharmony_ci "ability_base:want", 10953c3577eSopenharmony_ci "c_utils:utils", 11053c3577eSopenharmony_ci "hilog:libhilog", 11153c3577eSopenharmony_ci "ipc:ipc_core", 11253c3577eSopenharmony_ci ] 11353c3577eSopenharmony_ci 11453c3577eSopenharmony_ci deps = [ 11553c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter:distributeddata_adapter", 11653c3577eSopenharmony_ci "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework:distributeddatasvcfwk", 11753c3577eSopenharmony_ci "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata:distributeddata_inner", 11853c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 11953c3577eSopenharmony_ci "//third_party/openssl:libcrypto_shared", 12053c3577eSopenharmony_ci ] 12153c3577eSopenharmony_ci} 12253c3577eSopenharmony_ci 12353c3577eSopenharmony_ciohos_unittest("ServiceUtilsTest") { 12453c3577eSopenharmony_ci module_out_path = module_output_path 12553c3577eSopenharmony_ci 12653c3577eSopenharmony_ci sources = [ "utils_test.cpp" ] 12753c3577eSopenharmony_ci 12853c3577eSopenharmony_ci configs = [ ":module_private_config" ] 12953c3577eSopenharmony_ci 13053c3577eSopenharmony_ci cflags = [ 13153c3577eSopenharmony_ci "-Dprivate=public", 13253c3577eSopenharmony_ci "-Dprotected=public", 13353c3577eSopenharmony_ci ] 13453c3577eSopenharmony_ci 13553c3577eSopenharmony_ci external_deps = [ 13653c3577eSopenharmony_ci "access_token:libaccesstoken_sdk", 13753c3577eSopenharmony_ci "access_token:libnativetoken", 13853c3577eSopenharmony_ci "c_utils:utils", 13953c3577eSopenharmony_ci "hilog:libhilog", 14053c3577eSopenharmony_ci "ipc:ipc_core", 14153c3577eSopenharmony_ci ] 14253c3577eSopenharmony_ci 14353c3577eSopenharmony_ci deps = [ 14453c3577eSopenharmony_ci "${data_service_path}/framework:distributeddatasvcfwk", 14553c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 14653c3577eSopenharmony_ci ] 14753c3577eSopenharmony_ci} 14853c3577eSopenharmony_ci 14953c3577eSopenharmony_ciohos_unittest("StoreTest") { 15053c3577eSopenharmony_ci module_out_path = module_output_path 15153c3577eSopenharmony_ci 15253c3577eSopenharmony_ci include_dirs = [ "${data_service_path}/service/test/mock" ] 15353c3577eSopenharmony_ci 15453c3577eSopenharmony_ci sources = [ 15553c3577eSopenharmony_ci "${data_service_path}/framework/metadata/store_meta_data.cpp", 15653c3577eSopenharmony_ci "${data_service_path}/framework/store/auto_cache.cpp", 15753c3577eSopenharmony_ci "${data_service_path}/service/rdb/rdb_query.cpp", 15853c3577eSopenharmony_ci "${data_service_path}/service/test/mock/general_store_mock.cpp", 15953c3577eSopenharmony_ci "store_test.cpp", 16053c3577eSopenharmony_ci ] 16153c3577eSopenharmony_ci 16253c3577eSopenharmony_ci configs = [ ":module_private_config" ] 16353c3577eSopenharmony_ci 16453c3577eSopenharmony_ci cflags = [ 16553c3577eSopenharmony_ci "-Dprivate=public", 16653c3577eSopenharmony_ci "-Dprotected=public", 16753c3577eSopenharmony_ci ] 16853c3577eSopenharmony_ci 16953c3577eSopenharmony_ci external_deps = [ 17053c3577eSopenharmony_ci "access_token:libaccesstoken_sdk", 17153c3577eSopenharmony_ci "access_token:libnativetoken", 17253c3577eSopenharmony_ci "c_utils:utils", 17353c3577eSopenharmony_ci "hilog:libhilog", 17453c3577eSopenharmony_ci "ipc:ipc_core", 17553c3577eSopenharmony_ci "kv_store:distributeddata_inner", 17653c3577eSopenharmony_ci "kv_store:distributeddb", 17753c3577eSopenharmony_ci "relational_store:native_rdb", 17853c3577eSopenharmony_ci ] 17953c3577eSopenharmony_ci 18053c3577eSopenharmony_ci deps = [ 18153c3577eSopenharmony_ci "${data_service_path}/framework:distributeddatasvcfwk", 18253c3577eSopenharmony_ci "${data_service_path}/service:distributeddatasvc", 18353c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 18453c3577eSopenharmony_ci ] 18553c3577eSopenharmony_ci} 18653c3577eSopenharmony_ci 18753c3577eSopenharmony_ciohos_unittest("AssetLoaderTest") { 18853c3577eSopenharmony_ci module_out_path = module_output_path 18953c3577eSopenharmony_ci sources = [ "asset_loader_test.cpp" ] 19053c3577eSopenharmony_ci configs = [ ":module_private_config" ] 19153c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 19253c3577eSopenharmony_ci} 19353c3577eSopenharmony_ci 19453c3577eSopenharmony_ciohos_unittest("BackupRuleManagerTest") { 19553c3577eSopenharmony_ci module_out_path = module_output_path 19653c3577eSopenharmony_ci sources = [ "backup_rule_manager_test.cpp" ] 19753c3577eSopenharmony_ci configs = [ ":module_private_config" ] 19853c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 19953c3577eSopenharmony_ci} 20053c3577eSopenharmony_ci 20153c3577eSopenharmony_ciohos_unittest("BindEventTest") { 20253c3577eSopenharmony_ci module_out_path = module_output_path 20353c3577eSopenharmony_ci sources = [ "bind_event_test.cpp" ] 20453c3577eSopenharmony_ci configs = [ ":module_private_config" ] 20553c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 20653c3577eSopenharmony_ci} 20753c3577eSopenharmony_ci 20853c3577eSopenharmony_ciohos_unittest("CloudInfoTest") { 20953c3577eSopenharmony_ci module_out_path = module_output_path 21053c3577eSopenharmony_ci sources = [ "cloud_test.cpp" ] 21153c3577eSopenharmony_ci configs = [ ":module_private_config" ] 21253c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 21353c3577eSopenharmony_ci} 21453c3577eSopenharmony_ci 21553c3577eSopenharmony_ciohos_unittest("EventTest") { 21653c3577eSopenharmony_ci module_out_path = module_output_path 21753c3577eSopenharmony_ci sources = [ "event_test.cpp" ] 21853c3577eSopenharmony_ci configs = [ ":module_private_config" ] 21953c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 22053c3577eSopenharmony_ci} 22153c3577eSopenharmony_ci 22253c3577eSopenharmony_ciohos_unittest("GeneralStoreTest") { 22353c3577eSopenharmony_ci module_out_path = module_output_path 22453c3577eSopenharmony_ci sources = [ "general_store_test.cpp" ] 22553c3577eSopenharmony_ci configs = [ ":module_private_config" ] 22653c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 22753c3577eSopenharmony_ci} 22853c3577eSopenharmony_ci 22953c3577eSopenharmony_ciohos_unittest("SubscriptionTest") { 23053c3577eSopenharmony_ci module_out_path = module_output_path 23153c3577eSopenharmony_ci sources = [ "subscription_test.cpp" ] 23253c3577eSopenharmony_ci configs = [ ":module_private_config" ] 23353c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 23453c3577eSopenharmony_ci} 23553c3577eSopenharmony_ci 23653c3577eSopenharmony_ciohos_unittest("FeatureTest") { 23753c3577eSopenharmony_ci module_out_path = module_output_path 23853c3577eSopenharmony_ci sources = [ "feature_test.cpp" ] 23953c3577eSopenharmony_ci configs = [ ":module_private_config" ] 24053c3577eSopenharmony_ci deps = [ 24153c3577eSopenharmony_ci "${data_service_path}/framework:distributeddatasvcfwk", 24253c3577eSopenharmony_ci "${kv_store_path}/interfaces/innerkits/distributeddata:distributeddata_inner", 24353c3577eSopenharmony_ci ] 24453c3577eSopenharmony_ci} 24553c3577eSopenharmony_ci 24653c3577eSopenharmony_ciohos_unittest("MetaDataManagerTest") { 24753c3577eSopenharmony_ci module_out_path = module_output_path 24853c3577eSopenharmony_ci 24953c3577eSopenharmony_ci sources = [ "meta_data_manager_test.cpp" ] 25053c3577eSopenharmony_ci 25153c3577eSopenharmony_ci configs = [ ":module_private_config" ] 25253c3577eSopenharmony_ci 25353c3577eSopenharmony_ci external_deps = [ 25453c3577eSopenharmony_ci "c_utils:utils", 25553c3577eSopenharmony_ci "hilog:libhilog", 25653c3577eSopenharmony_ci "ipc:ipc_core", 25753c3577eSopenharmony_ci ] 25853c3577eSopenharmony_ci 25953c3577eSopenharmony_ci deps = [ 26053c3577eSopenharmony_ci "${data_service_path}/framework:distributeddatasvcfwk", 26153c3577eSopenharmony_ci "${data_service_path}/service:distributeddatasvc", 26253c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 26353c3577eSopenharmony_ci ] 26453c3577eSopenharmony_ci} 26553c3577eSopenharmony_ci 26653c3577eSopenharmony_ciohos_unittest("StoreMetaDataLocalTest") { 26753c3577eSopenharmony_ci module_out_path = module_output_path 26853c3577eSopenharmony_ci sources = [ "store_meta_data_local_test.cpp" ] 26953c3577eSopenharmony_ci configs = [ ":module_private_config" ] 27053c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 27153c3577eSopenharmony_ci} 27253c3577eSopenharmony_ci 27353c3577eSopenharmony_ciohos_unittest("ConstantTest") { 27453c3577eSopenharmony_ci module_out_path = module_output_path 27553c3577eSopenharmony_ci sources = [ "constant_test.cpp" ] 27653c3577eSopenharmony_ci configs = [ ":module_private_config" ] 27753c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 27853c3577eSopenharmony_ci} 27953c3577eSopenharmony_ci 28053c3577eSopenharmony_ciohos_unittest("CryptoTest") { 28153c3577eSopenharmony_ci module_out_path = module_output_path 28253c3577eSopenharmony_ci sources = [ "crypto_test.cpp" ] 28353c3577eSopenharmony_ci configs = [ ":module_private_config" ] 28453c3577eSopenharmony_ci deps = [ "${data_service_path}/framework:distributeddatasvcfwk" ] 28553c3577eSopenharmony_ci} 28653c3577eSopenharmony_ci 28753c3577eSopenharmony_ciohos_unittest("ServiceMetaDataTest") { 28853c3577eSopenharmony_ci module_out_path = module_output_path 28953c3577eSopenharmony_ci 29053c3577eSopenharmony_ci sources = [ 29153c3577eSopenharmony_ci "${data_service_path}/app/src/kvstore_meta_manager.cpp", 29253c3577eSopenharmony_ci "meta_data_test.cpp", 29353c3577eSopenharmony_ci ] 29453c3577eSopenharmony_ci 29553c3577eSopenharmony_ci sanitize = { 29653c3577eSopenharmony_ci cfi = true 29753c3577eSopenharmony_ci cfi_cross_dso = true 29853c3577eSopenharmony_ci debug = false 29953c3577eSopenharmony_ci } 30053c3577eSopenharmony_ci 30153c3577eSopenharmony_ci configs = [ ":module_private_config" ] 30253c3577eSopenharmony_ci 30353c3577eSopenharmony_ci include_dirs = [ 30453c3577eSopenharmony_ci "${device_manager_path}/interfaces/inner_kits/native_cpp/include", 30553c3577eSopenharmony_ci "../include/", 30653c3577eSopenharmony_ci "../../service/bootstrap/include/", 30753c3577eSopenharmony_ci "../../service/common/", 30853c3577eSopenharmony_ci "../../service/rdb/", 30953c3577eSopenharmony_ci "../../../../../relational_store/interfaces/inner_api/rdb/include", 31053c3577eSopenharmony_ci "../../../../../relational_store/interfaces/inner_api/common_type/include", 31153c3577eSopenharmony_ci "${kv_store_distributeddb_path}/interfaces/include", 31253c3577eSopenharmony_ci "${kv_store_distributeddb_path}/include", 31353c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatasvc/include", 31453c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatafwk/include", 31553c3577eSopenharmony_ci "${kv_store_common_path}", 31653c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/distributeddatafwk/src", 31753c3577eSopenharmony_ci "${kv_store_path}/frameworks/innerkitsimpl/kvdb/include", 31853c3577eSopenharmony_ci "${kv_store_path}/interfaces/innerkits/distributeddata/include", 31953c3577eSopenharmony_ci "${data_service_path}/adapter/include", 32053c3577eSopenharmony_ci "${data_service_path}/framework/include", 32153c3577eSopenharmony_ci "${data_service_path}/service/config/include", 32253c3577eSopenharmony_ci "${data_service_path}/app/src", 32353c3577eSopenharmony_ci "${data_service_path}/adapter/include/account", 32453c3577eSopenharmony_ci "${data_service_path}/app/src/security", 32553c3577eSopenharmony_ci "${data_service_path}/service/crypto/include", 32653c3577eSopenharmony_ci "${data_service_path}/service/matrix/include", 32753c3577eSopenharmony_ci "${data_service_path}/service/waterversion", 32853c3577eSopenharmony_ci "${data_service_path}/service/kvdb", 32953c3577eSopenharmony_ci "//third_party/json/single_include", 33053c3577eSopenharmony_ci ] 33153c3577eSopenharmony_ci 33253c3577eSopenharmony_ci external_deps = [ 33353c3577eSopenharmony_ci "c_utils:utils", 33453c3577eSopenharmony_ci "dataclassification:data_transit_mgr", 33553c3577eSopenharmony_ci "device_auth:deviceauth_sdk", 33653c3577eSopenharmony_ci "hilog:libhilog", 33753c3577eSopenharmony_ci "hisysevent:libhisysevent", 33853c3577eSopenharmony_ci "hitrace:hitrace_meter", 33953c3577eSopenharmony_ci "hitrace:libhitracechain", 34053c3577eSopenharmony_ci "ipc:ipc_core", 34153c3577eSopenharmony_ci "kv_store:distributeddata_inner", 34253c3577eSopenharmony_ci "kv_store:distributeddata_mgr", 34353c3577eSopenharmony_ci "kv_store:distributeddb", 34453c3577eSopenharmony_ci "safwk:system_ability_fwk", 34553c3577eSopenharmony_ci "samgr:samgr_proxy", 34653c3577eSopenharmony_ci ] 34753c3577eSopenharmony_ci 34853c3577eSopenharmony_ci deps = [ 34953c3577eSopenharmony_ci "${data_service_path}/adapter:distributeddata_adapter", 35053c3577eSopenharmony_ci "${data_service_path}/adapter/broadcaster:distributeddata_broadcaster_static", 35153c3577eSopenharmony_ci "${data_service_path}/adapter/utils:distributeddata_utils_static", 35253c3577eSopenharmony_ci "${data_service_path}/app/src/checker:distributeddata_checker_static", 35353c3577eSopenharmony_ci "${data_service_path}/framework:distributeddatasvcfwk", 35453c3577eSopenharmony_ci "${data_service_path}/service:distributeddatasvc", 35553c3577eSopenharmony_ci "${kv_store_distributeddb_path}:distributeddb", 35653c3577eSopenharmony_ci "${kv_store_path}/interfaces/innerkits/distributeddata:distributeddata_inner", 35753c3577eSopenharmony_ci "${kv_store_path}/interfaces/innerkits/distributeddatamgr:distributeddata_mgr", 35853c3577eSopenharmony_ci "//third_party/googletest:gtest_main", 35953c3577eSopenharmony_ci "//third_party/openssl:libcrypto_shared", 36053c3577eSopenharmony_ci ] 36153c3577eSopenharmony_ci} 36253c3577eSopenharmony_ci 36353c3577eSopenharmony_ci############################################################################### 36453c3577eSopenharmony_cigroup("unittest") { 36553c3577eSopenharmony_ci testonly = true 36653c3577eSopenharmony_ci 36753c3577eSopenharmony_ci deps = [] 36853c3577eSopenharmony_ci 36953c3577eSopenharmony_ci deps += [ 37053c3577eSopenharmony_ci ":AssetLoaderTest", 37153c3577eSopenharmony_ci ":BackupRuleManagerTest", 37253c3577eSopenharmony_ci ":BindEventTest", 37353c3577eSopenharmony_ci ":CheckerManagerTest", 37453c3577eSopenharmony_ci ":CloudInfoTest", 37553c3577eSopenharmony_ci ":ConstantTest", 37653c3577eSopenharmony_ci ":CryptoTest", 37753c3577eSopenharmony_ci ":EventCenterTest", 37853c3577eSopenharmony_ci ":EventTest", 37953c3577eSopenharmony_ci ":FeatureTest", 38053c3577eSopenharmony_ci ":GeneralStoreTest", 38153c3577eSopenharmony_ci ":MetaDataManagerTest", 38253c3577eSopenharmony_ci ":SerializableTest", 38353c3577eSopenharmony_ci ":ServiceMetaDataTest", 38453c3577eSopenharmony_ci ":ServiceUtilsTest", 38553c3577eSopenharmony_ci ":StoreMetaDataLocalTest", 38653c3577eSopenharmony_ci ":StoreTest", 38753c3577eSopenharmony_ci ":SubscriptionTest", 38853c3577eSopenharmony_ci ] 38953c3577eSopenharmony_ci} 39053c3577eSopenharmony_ci############################################################################### 391