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_ci
1453c3577eSopenharmony_cikv_store_path = "//foundation/distributeddatamgr/kv_store"
1553c3577eSopenharmony_ci
1653c3577eSopenharmony_cirelational_store_path = "//foundation/distributeddatamgr/relational_store"
1753c3577eSopenharmony_ci
1853c3577eSopenharmony_cirelational_store_inner_api_path =
1953c3577eSopenharmony_ci    "${relational_store_path}/interfaces/inner_api/rdb"
2053c3577eSopenharmony_ci
2153c3577eSopenharmony_cikv_store_common_path = "${kv_store_path}/frameworks/common"
2253c3577eSopenharmony_ci
2353c3577eSopenharmony_cikv_store_distributeddb_path = "${kv_store_path}/frameworks/libs/distributeddb"
2453c3577eSopenharmony_ci
2553c3577eSopenharmony_cidsoftbus_core_path = "//foundation/communication/dsoftbus/core/common/include"
2653c3577eSopenharmony_ci
2753c3577eSopenharmony_cidatashare_path = "//foundation/distributeddatamgr/data_share"
2853c3577eSopenharmony_ci
2953c3577eSopenharmony_ciipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core"
3053c3577eSopenharmony_ci
3153c3577eSopenharmony_cidevice_manager_path = "//foundation/distributedhardware/device_manager"
3253c3577eSopenharmony_ci
3353c3577eSopenharmony_cifile_service_path = "//foundation/filemanagement/app_file_service"
3453c3577eSopenharmony_ci
3553c3577eSopenharmony_cidata_service_path = "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice"
3653c3577eSopenharmony_ci
3753c3577eSopenharmony_ciudmf_path = "//foundation/distributeddatamgr/udmf"
3853c3577eSopenharmony_ci
3953c3577eSopenharmony_cidataobject_path = "//foundation/distributeddatamgr/data_object"
4053c3577eSopenharmony_ci
4153c3577eSopenharmony_cideclare_args() {
4253c3577eSopenharmony_ci  datamgr_service_power = true
4353c3577eSopenharmony_ci  if (!defined(global_parts_info.power_manager_native_powermgr_client) ||
4453c3577eSopenharmony_ci      !defined(global_parts_info.battery_manager_native_batterysrv_client)) {
4553c3577eSopenharmony_ci    datamgr_service_power = false
4653c3577eSopenharmony_ci  }
4753c3577eSopenharmony_ci
4853c3577eSopenharmony_ci  if (!defined(global_parts_info) ||
4953c3577eSopenharmony_ci      defined(global_parts_info.account_os_account)) {
5053c3577eSopenharmony_ci    os_account_part_is_enabled = true
5153c3577eSopenharmony_ci  } else {
5253c3577eSopenharmony_ci    os_account_part_is_enabled = false
5353c3577eSopenharmony_ci  }
5453c3577eSopenharmony_ci
5553c3577eSopenharmony_ci  datamgr_service_config = true
5653c3577eSopenharmony_ci
5753c3577eSopenharmony_ci  datamgr_service_udmf = false
5853c3577eSopenharmony_ci}
59