• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2025 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
14declare_args() {
15  storage_service_graphic = true
16  storage_service_user_crypto_manager = true
17  storage_service_external_storage_manager = true
18  storage_service_storage_statistics_manager = true
19  storage_service_crypto_test = false
20  storage_service_external_storage_qos_trans = false
21  storage_service_user_file_sharing = true
22  storage_service_fstools = true
23  storage_service_media_fuse = true
24  storage_service_cloud_fuse = true
25
26  storage_service_el5_filekey_manager =
27      defined(global_parts_info) &&
28      defined(global_parts_info.accesscontrol_el5_filekey_policy)
29
30  enable_user_auth_framework =
31      defined(global_parts_info) &&
32      defined(global_parts_info.useriam_user_auth_framework)
33
34  enable_screenlock_manager = defined(global_parts_info) &&
35                              defined(global_parts_info.theme_screenlock_mgr)
36
37  support_open_source_libmtp = defined(global_parts_info) &&
38                               defined(global_parts_info.open_source_libmtp) &&
39                               defined(global_parts_info.thirdparty_libusb) &&
40                               defined(global_parts_info.thirdparty_libfuse)
41
42  enable_tee_client = !is_emulator
43  enable_huks_hdi = !is_emulator
44}
45
46storage_manager_path =
47    "//foundation/filemanagement/storage_service/services/storage_manager"
48storage_daemon_path =
49    "//foundation/filemanagement/storage_service/services/storage_daemon"
50storage_interface_path =
51    "//foundation/filemanagement/storage_service/interfaces"
52storage_service_common_path =
53    "//foundation/filemanagement/storage_service/services/common"
54storage_service_path = "//foundation/filemanagement/storage_service"
55