2022-03-07 06:57:48 +00:00
|
|
|
# Copyright (c) 2022 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
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
2022-04-20 11:34:21 +00:00
|
|
|
# limitations under the License.
|
2022-03-07 06:57:48 +00:00
|
|
|
|
2023-05-07 08:02:25 +00:00
|
|
|
kv_store_path = "//foundation/distributeddatamgr/kv_store"
|
|
|
|
|
2023-05-10 02:01:55 +00:00
|
|
|
relational_store_path = "//foundation/distributeddatamgr/relational_store"
|
|
|
|
|
2023-06-08 09:29:22 +00:00
|
|
|
relational_store_inner_api_path =
|
|
|
|
"${relational_store_path}/interfaces/inner_api/rdb"
|
2023-06-08 09:15:55 +00:00
|
|
|
|
2023-05-07 08:02:25 +00:00
|
|
|
kv_store_common_path = "${kv_store_path}/frameworks/common"
|
|
|
|
|
|
|
|
kv_store_distributeddb_path = "${kv_store_path}/frameworks/libs/distributeddb"
|
|
|
|
|
|
|
|
dsoftbus_core_path = "//foundation/communication/dsoftbus/core/common/include"
|
|
|
|
|
|
|
|
datashare_path = "//foundation/distributeddatamgr/data_share"
|
2023-05-07 09:32:13 +00:00
|
|
|
|
|
|
|
ipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core"
|
|
|
|
|
|
|
|
device_manager_path = "//foundation/distributedhardware/device_manager"
|
2023-05-09 06:30:01 +00:00
|
|
|
|
2023-06-29 13:12:06 +00:00
|
|
|
file_service_path = "//foundation/filemanagement/app_file_service"
|
|
|
|
|
2023-06-25 09:49:17 +00:00
|
|
|
data_service_path = "//foundation/distributeddatamgr/datamgr_service/services/distributeddataservice"
|
|
|
|
|
|
|
|
udmf_path = "//foundation/distributeddatamgr/udmf"
|
|
|
|
|
2023-07-03 12:19:42 +00:00
|
|
|
dataobject_path = "//foundation/distributeddatamgr/data_object"
|
|
|
|
|
2022-03-07 06:57:48 +00:00
|
|
|
declare_args() {
|
2022-08-23 14:36:23 +00:00
|
|
|
datamgr_service_power = true
|
2022-03-07 06:57:48 +00:00
|
|
|
if (!defined(global_parts_info.power_manager_native_powermgr_client) ||
|
|
|
|
!defined(global_parts_info.battery_manager_native_batterysrv_client)) {
|
2022-08-23 14:36:23 +00:00
|
|
|
datamgr_service_power = false
|
2022-03-07 06:57:48 +00:00
|
|
|
}
|
2022-04-20 11:34:21 +00:00
|
|
|
|
|
|
|
if (!defined(global_parts_info) ||
|
2022-05-05 08:03:45 +00:00
|
|
|
defined(global_parts_info.account_os_account)) {
|
2022-04-20 11:34:21 +00:00
|
|
|
os_account_part_is_enabled = true
|
|
|
|
} else {
|
|
|
|
os_account_part_is_enabled = false
|
|
|
|
}
|
2023-06-13 07:14:30 +00:00
|
|
|
|
2023-06-13 11:37:23 +00:00
|
|
|
datamgr_service_config = true
|
2023-06-30 02:22:21 +00:00
|
|
|
|
|
|
|
datamgr_service_udmf = false
|
2022-03-07 06:57:48 +00:00
|
|
|
}
|