• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
14distributedfilejs_path = "//foundation/distributeddatamgr/distributedfile"
15
16kv_store_path = "//foundation/distributeddatamgr/kv_store"
17
18relational_store_path = "//foundation/distributeddatamgr/relational_store"
19
20relational_store_inner_api_path =
21    "${relational_store_path}/interfaces/inner_api/rdb"
22
23kv_store_common_path = "${kv_store_path}/frameworks/common"
24
25kv_store_distributeddb_path = "${kv_store_path}/frameworks/libs/distributeddb"
26
27dsoftbus_core_path = "//foundation/communication/dsoftbus/core/common/include"
28
29datashare_path = "//foundation/distributeddatamgr/data_share"
30
31ipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core"
32
33device_manager_path = "//foundation/distributedhardware/device_manager"
34
35file_service_path = "//foundation/filemanagement/app_file_service"
36
37data_service_path = "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice"
38
39udmf_path = "//foundation/distributeddatamgr/udmf"
40
41dataobject_path = "//foundation/distributeddatamgr/data_object"
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