2022-05-18 07:42: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-05-30 13:47:27 +00:00
|
|
|
# limitations under the License.
|
2022-05-18 07:42:48 +00:00
|
|
|
|
2022-06-27 02:30:50 +00:00
|
|
|
ability_runtime_path = "//foundation/ability/ability_runtime"
|
|
|
|
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
|
2022-05-30 13:47:27 +00:00
|
|
|
declare_args() {
|
|
|
|
storage_service_graphic = true
|
2023-04-21 09:18:26 +00:00
|
|
|
storage_service_user_crypto_manager = true
|
|
|
|
storage_service_external_storage_manager = true
|
|
|
|
storage_service_storage_statistics_manager = true
|
2023-09-01 02:02:23 +00:00
|
|
|
storage_service_crypto_test = false
|
2023-08-26 03:39:03 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
defined(global_parts_info.filemanagement_dfs_service)) {
|
|
|
|
storage_service_dfs_service = true
|
|
|
|
} else {
|
|
|
|
storage_service_dfs_service = false
|
|
|
|
}
|
2024-05-19 09:35:32 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
defined(global_parts_info.accesscontrol_el5_filekey_policy)) {
|
|
|
|
storage_service_el5_filekey_manager = true
|
|
|
|
} else {
|
|
|
|
storage_service_el5_filekey_manager = false
|
|
|
|
}
|
2024-06-25 11:26:02 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
defined(global_parts_info.useriam_user_auth_framework)) {
|
|
|
|
enable_user_auth_framework = true
|
|
|
|
} else {
|
|
|
|
enable_user_auth_framework = false
|
|
|
|
}
|
2024-08-26 12:03:01 +00:00
|
|
|
if (is_emulator) {
|
|
|
|
enable_tee_client = false
|
|
|
|
} else {
|
|
|
|
enable_tee_client = true
|
|
|
|
}
|
2024-08-23 01:14:34 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
defined(global_parts_info.theme_screenlock_mgr)) {
|
|
|
|
enable_screenlock_manager = true
|
|
|
|
} else {
|
|
|
|
enable_screenlock_manager = false
|
|
|
|
}
|
2024-09-24 01:41:18 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2024-10-15 11:43:46 +00:00
|
|
|
defined(global_parts_info.open_source_libmtp) &&
|
|
|
|
defined(global_parts_info.thirdparty_libusb) &&
|
|
|
|
defined(global_parts_info.thirdparty_libfuse)) {
|
2024-09-24 01:41:18 +00:00
|
|
|
support_open_source_libmtp = true
|
|
|
|
} else {
|
|
|
|
support_open_source_libmtp = false
|
|
|
|
}
|
2022-05-30 13:47:27 +00:00
|
|
|
}
|
2023-02-22 04:17:10 +00:00
|
|
|
storage_manager_path =
|
|
|
|
"//foundation/filemanagement/storage_service/services/storage_manager"
|
|
|
|
storage_daemon_path =
|
|
|
|
"//foundation/filemanagement/storage_service/services/storage_daemon"
|
2023-02-28 07:57:35 +00:00
|
|
|
storage_interface_path =
|
|
|
|
"//foundation/filemanagement/storage_service/interfaces"
|
2023-03-11 09:24:41 +00:00
|
|
|
storage_service_common_path =
|
|
|
|
"//foundation/filemanagement/storage_service/services/common"
|
2023-04-30 07:20:52 +00:00
|
|
|
storage_service_path = "//foundation/filemanagement/storage_service"
|
|
|
|
bundlemanager_framework_path = "//foundation/bundlemanager/bundle_framework"
|
|
|
|
multimedia_library_path = "//foundation/multimedia/media_library"
|
|
|
|
start_init_interfaces_path = "//base/startup/init/interfaces"
|
|
|
|
security_huks_frameworks_path = "//base/security/huks/frameworks/huks_standard"
|
2024-08-26 12:03:01 +00:00
|
|
|
tee_client_path = "base/tee/tee_client/frameworks/build/standard"
|
2023-04-30 07:20:52 +00:00
|
|
|
c_utils_base_path = "//commonlibrary/c_utils/base"
|
|
|
|
communication_ipc_path = "//foundation/communication/ipc"
|