1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14kv_store_path = "//foundation/distributeddatamgr/kv_store" 15 16relational_store_path = "//foundation/distributeddatamgr/relational_store" 17 18relational_store_inner_api_path = 19 "${relational_store_path}/interfaces/inner_api/rdb" 20 21kv_store_common_path = "${kv_store_path}/frameworks/common" 22 23kv_store_distributeddb_path = "${kv_store_path}/frameworks/libs/distributeddb" 24 25dsoftbus_core_path = "//foundation/communication/dsoftbus/core/common/include" 26 27datashare_path = "//foundation/distributeddatamgr/data_share" 28 29ipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core" 30 31device_manager_path = "//foundation/distributedhardware/device_manager" 32 33file_service_path = "//foundation/filemanagement/app_file_service" 34 35data_service_path = "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice" 36 37udmf_path = "//foundation/distributeddatamgr/udmf" 38 39dataobject_path = "//foundation/distributeddatamgr/data_object" 40 41datamgr_service_path = "//foundation/distributeddatamgr/datamgr_service" 42 43declare_args() { 44 datamgr_service_power = true 45 if (!defined(global_parts_info.power_manager_native_powermgr_client) || 46 !defined(global_parts_info.battery_manager_native_batterysrv_client)) { 47 datamgr_service_power = false 48 } 49 50 if (!defined(global_parts_info) || 51 defined(global_parts_info.account_os_account)) { 52 os_account_part_is_enabled = true 53 } else { 54 os_account_part_is_enabled = false 55 } 56 57 datamgr_service_config = true 58 59 datamgr_service_udmf = false 60 61 datamgr_service_cloud = true 62 63 datamgr_service_rdb = true 64 65 datamgr_service_kvdb = true 66 67 datamgr_service_object = true 68 69 datamgr_service_data_share = true 70} 71