181b96c26Sopenharmony_ci# Copyright (c) 2023-2024 Huawei Device Co., Ltd. 281b96c26Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 381b96c26Sopenharmony_ci# you may not use this file except in compliance with the License. 481b96c26Sopenharmony_ci# You may obtain a copy of the License at 581b96c26Sopenharmony_ci# 681b96c26Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 781b96c26Sopenharmony_ci# 881b96c26Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 981b96c26Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1081b96c26Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1181b96c26Sopenharmony_ci# See the License for the specific language governing permissions and 1281b96c26Sopenharmony_ci# limitations under the License. 1381b96c26Sopenharmony_ci 1481b96c26Sopenharmony_ciimport("//build/ohos.gni") 1581b96c26Sopenharmony_ciimport("./dlp_permission_service.gni") 1681b96c26Sopenharmony_ci 1781b96c26Sopenharmony_cigroup("dlp_permission_build_module") { 1881b96c26Sopenharmony_ci if (is_standard_system) { 1981b96c26Sopenharmony_ci deps = [ 2081b96c26Sopenharmony_ci "${dlp_root_dir}/frameworks/access_config:clone_app_permission_config", 2181b96c26Sopenharmony_ci "${dlp_root_dir}/interfaces/inner_api/dlp_fuse:libdlp_fuse", 2281b96c26Sopenharmony_ci "${dlp_root_dir}/interfaces/inner_api/dlp_permission:libdlp_permission_common_interface", 2381b96c26Sopenharmony_ci "${dlp_root_dir}/interfaces/inner_api/dlp_permission:libdlp_permission_sdk", 2481b96c26Sopenharmony_ci "${dlp_root_dir}/interfaces/kits/c:ohdlp_permission", 2581b96c26Sopenharmony_ci "${dlp_root_dir}/services/dlp_permission/sa:dlp_permission_service", 2681b96c26Sopenharmony_ci "${dlp_root_dir}/services/dlp_permission/sa/sa_profile:dlp_permission_sa_profile_standard", 2781b96c26Sopenharmony_ci ] 2881b96c26Sopenharmony_ci } 2981b96c26Sopenharmony_ci if (support_jsapi) { 3081b96c26Sopenharmony_ci deps += [ "${dlp_root_dir}/interfaces/kits:napi_packages" ] 3181b96c26Sopenharmony_ci } 3281b96c26Sopenharmony_ci} 33