1# Copyright (C) 2021-2023 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_napi_path = 15 "//foundation/ability/ability_runtime/frameworks/js/napi" 16 17pasteboard_root_path = "//foundation/distributeddatamgr/pasteboard" 18 19pasteboard_kits_path = "${pasteboard_root_path}/kits" 20 21pasteboard_innerkits_path = "${pasteboard_root_path}/framework/innerkits" 22 23pasteboard_framework_path = "${pasteboard_root_path}/framework/framework" 24 25pasteboard_utils_path = "${pasteboard_root_path}/utils" 26 27pasteboard_service_path = "${pasteboard_root_path}/services" 28 29filemanagement_service_path = "//foundation/filemanagement/dfs_service/services" 30 31declare_args() { 32 pb_dlp_part_enabled = true 33 pb_device_info_manager_part_enabled = true 34 pb_device_manager_part_enabled = true 35 36 if (defined(global_parts_info) && 37 !defined(global_parts_info.security_dlp_permission_service)) { 38 pb_dlp_part_enabled = false 39 } 40 if (defined(global_parts_info) && 41 !defined(global_parts_info.deviceprofile_device_info_manager)) { 42 pb_device_info_manager_part_enabled = false 43 } 44 if (defined(global_parts_info) && 45 !defined(global_parts_info.distributedhardware_device_manager)) { 46 pb_device_manager_part_enabled = false 47 } 48} 49