1bc03f14fSopenharmony_ci# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
2bc03f14fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3bc03f14fSopenharmony_ci# you may not use this file except in compliance with the License.
4bc03f14fSopenharmony_ci# You may obtain a copy of the License at
5bc03f14fSopenharmony_ci#
6bc03f14fSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7bc03f14fSopenharmony_ci#
8bc03f14fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9bc03f14fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10bc03f14fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11bc03f14fSopenharmony_ci# See the License for the specific language governing permissions and
12bc03f14fSopenharmony_ci# limitations under the License.
13bc03f14fSopenharmony_ci
14bc03f14fSopenharmony_cipasteboard_root_path = "//foundation/distributeddatamgr/pasteboard"
15bc03f14fSopenharmony_ci
16bc03f14fSopenharmony_cipasteboard_kits_path = "${pasteboard_root_path}/kits"
17bc03f14fSopenharmony_ci
18bc03f14fSopenharmony_cipasteboard_innerkits_path = "${pasteboard_root_path}/framework/innerkits"
19bc03f14fSopenharmony_ci
20bc03f14fSopenharmony_cipasteboard_framework_path = "${pasteboard_root_path}/framework/framework"
21bc03f14fSopenharmony_ci
22bc03f14fSopenharmony_cipasteboard_utils_path = "${pasteboard_root_path}/utils"
23bc03f14fSopenharmony_ci
24bc03f14fSopenharmony_cipasteboard_service_path = "${pasteboard_root_path}/services"
25bc03f14fSopenharmony_ci
26bc03f14fSopenharmony_cipasteboard_interfaces_path = "${pasteboard_root_path}/interfaces"
27bc03f14fSopenharmony_ci
28bc03f14fSopenharmony_cipasteboard_tlv_path = "${pasteboard_root_path}/framework/tlv"
29bc03f14fSopenharmony_ci
30bc03f14fSopenharmony_cipasteboard_uri_path = "${pasteboard_root_path}/framework/uri"
31bc03f14fSopenharmony_ci
32bc03f14fSopenharmony_cideclare_args() {
33bc03f14fSopenharmony_ci  pasteboard_dlp_part_enabled = true
34bc03f14fSopenharmony_ci  pasteboard_device_info_manager_part_enabled = true
35bc03f14fSopenharmony_ci  pasteboard_device_manager_part_enabled = true
36bc03f14fSopenharmony_ci  pasteboard_screenlock_mgr_part_enabled = true
37bc03f14fSopenharmony_ci
38bc03f14fSopenharmony_ci  if (defined(global_parts_info) &&
39bc03f14fSopenharmony_ci      !defined(global_parts_info.security_dlp_permission_service)) {
40bc03f14fSopenharmony_ci    pasteboard_dlp_part_enabled = false
41bc03f14fSopenharmony_ci  }
42bc03f14fSopenharmony_ci  if (defined(global_parts_info) &&
43bc03f14fSopenharmony_ci      !defined(global_parts_info.deviceprofile_device_info_manager)) {
44bc03f14fSopenharmony_ci    pasteboard_device_info_manager_part_enabled = false
45bc03f14fSopenharmony_ci  }
46bc03f14fSopenharmony_ci  if (defined(global_parts_info) &&
47bc03f14fSopenharmony_ci      !defined(global_parts_info.distributedhardware_device_manager)) {
48bc03f14fSopenharmony_ci    pasteboard_device_manager_part_enabled = false
49bc03f14fSopenharmony_ci  }
50bc03f14fSopenharmony_ci  if (defined(global_parts_info) &&
51bc03f14fSopenharmony_ci      !defined(global_parts_info.theme_screenlock_mgr)) {
52bc03f14fSopenharmony_ci    pasteboard_screenlock_mgr_part_enabled = false
53bc03f14fSopenharmony_ci  }
54bc03f14fSopenharmony_ci}
55