• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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
14ability_base_kits_path = "//foundation/ability/ability_base/interfaces/kits"
15ability_runtime_kits_path =
16    "//foundation/ability/ability_runtime/frameworks/kits"
17
18distributedfile_path = "//foundation/filemanagement/dfs_service"
19
20utils_path = "${distributedfile_path}/utils"
21services_path = "${distributedfile_path}/services"
22innerkits_native_path = "${distributedfile_path}/interfaces/inner_api/native"
23bas_hiviewdfx_hilog_path = "//base/hiviewdfx/hilog"
24device_manager_path = "//foundation/distributedhardware/device_manager"
25dsoftbus_path = "//foundation/communication/dsoftbus"
26media_library_path = "//foundation/multimedia/media_library"
27communication_ipc_path = "//foundation/communication"
28image_framework_path = "//foundation/multimedia/image_framework"
29clouddisk_database_path = "${services_path}/clouddisk_database"
30
31declare_args() {
32  if (defined(global_parts_info) &&
33      defined(global_parts_info.powermgr_battery_manager)) {
34    cloudsync_service_power = true
35  } else {
36    cloudsync_service_power = false
37  }
38  dfs_service_feature_enable_cloud_adapter = false
39  if (defined(global_parts_info) &&
40      defined(global_parts_info.multimedia_media_library)) {
41    cloudsync_service_media_library = true
42  } else {
43    cloudsync_service_media_library = false
44  }
45  if (defined(global_parts_info) &&
46      defined(global_parts_info.hiviewdfx_hicollie)) {
47    cloudsync_service_hicollie_enable = true
48  } else {
49    cloudsync_service_hicollie_enable = false
50  }
51}
52