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
14ability_runtime_path = "//foundation/ability/ability_runtime"
15ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
16declare_args() {
17  storage_service_graphic = true
18  storage_service_user_crypto_manager = true
19  storage_service_external_storage_manager = true
20  storage_service_storage_statistics_manager = true
21  storage_service_crypto_test = false
22  if (defined(global_parts_info) &&
23      defined(global_parts_info.filemanagement_dfs_service)) {
24    storage_service_dfs_service = true
25  } else {
26    storage_service_dfs_service = false
27  }
28  if (defined(global_parts_info) &&
29      defined(global_parts_info.accesscontrol_el5_filekey_policy)) {
30    storage_service_el5_filekey_manager = true
31  } else {
32    storage_service_el5_filekey_manager = false
33  }
34  if (defined(global_parts_info) &&
35      defined(global_parts_info.useriam_user_auth_framework)) {
36    enable_user_auth_framework = true
37  } else {
38    enable_user_auth_framework = false
39  }
40  if (defined(global_parts_info) &&
41      defined(global_parts_info.theme_screenlock_mgr)) {
42    enable_screenlock_manager = true
43  } else {
44    enable_screenlock_manager = false
45  }
46}
47storage_manager_path =
48    "//foundation/filemanagement/storage_service/services/storage_manager"
49storage_daemon_path =
50    "//foundation/filemanagement/storage_service/services/storage_daemon"
51storage_interface_path =
52    "//foundation/filemanagement/storage_service/interfaces"
53storage_service_common_path =
54    "//foundation/filemanagement/storage_service/services/common"
55storage_service_path = "//foundation/filemanagement/storage_service"
56bundlemanager_framework_path = "//foundation/bundlemanager/bundle_framework"
57multimedia_library_path = "//foundation/multimedia/media_library"
58start_init_services_path = "//base/startup/init/services"
59start_init_interfaces_path = "//base/startup/init/interfaces"
60security_huks_frameworks_path = "//base/security/huks/frameworks/huks_standard"
61c_utils_base_path = "//commonlibrary/c_utils/base"
62communication_ipc_path = "//foundation/communication/ipc"
63