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 pasteboard_vixl_part_enabled = true 38 39 if (defined(global_parts_info) && 40 !defined(global_parts_info.third_party_vixl)) { 41 pasteboard_vixl_part_enabled = false 42 } 43 if (defined(global_parts_info) && 44 !defined(global_parts_info.security_dlp_permission_service)) { 45 pasteboard_dlp_part_enabled = false 46 } 47 if (defined(global_parts_info) && 48 !defined(global_parts_info.deviceprofile_device_info_manager)) { 49 pasteboard_device_info_manager_part_enabled = false 50 } 51 if (defined(global_parts_info) && 52 !defined(global_parts_info.distributedhardware_device_manager)) { 53 pasteboard_device_manager_part_enabled = false 54 } 55 if (defined(global_parts_info) && 56 !defined(global_parts_info.theme_screenlock_mgr)) { 57 pasteboard_screenlock_mgr_part_enabled = false 58 } 59} 60