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 14pasteboard_root_path = "//foundation/distributeddatamgr/pasteboard" 15 16pasteboard_kits_path = "${pasteboard_root_path}/kits" 17 18pasteboard_innerkits_path = "${pasteboard_root_path}/framework/innerkits" 19 20pasteboard_framework_path = "${pasteboard_root_path}/framework/framework" 21 22pasteboard_utils_path = "${pasteboard_root_path}/utils" 23 24pasteboard_service_path = "${pasteboard_root_path}/services" 25 26pasteboard_interfaces_path = "${pasteboard_root_path}/interfaces" 27 28pasteboard_tlv_path = "${pasteboard_root_path}/framework/tlv" 29 30pasteboard_uri_path = "${pasteboard_root_path}/framework/uri" 31 32declare_args() { 33 pasteboard_dlp_part_enabled = true 34 pasteboard_device_info_manager_part_enabled = true 35 pasteboard_device_manager_part_enabled = true 36 pasteboard_screenlock_mgr_part_enabled = true 37 38 if (defined(global_parts_info) && 39 !defined(global_parts_info.security_dlp_permission_service)) { 40 pasteboard_dlp_part_enabled = false 41 } 42 if (defined(global_parts_info) && 43 !defined(global_parts_info.deviceprofile_device_info_manager)) { 44 pasteboard_device_info_manager_part_enabled = false 45 } 46 if (defined(global_parts_info) && 47 !defined(global_parts_info.distributedhardware_device_manager)) { 48 pasteboard_device_manager_part_enabled = false 49 } 50 if (defined(global_parts_info) && 51 !defined(global_parts_info.theme_screenlock_mgr)) { 52 pasteboard_screenlock_mgr_part_enabled = false 53 } 54} 55