181b96c26Sopenharmony_ci# Copyright (c) 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_test") {
1881b96c26Sopenharmony_ci  testonly = true
1981b96c26Sopenharmony_ci  deps = []
2081b96c26Sopenharmony_ci  if (is_standard_system) {
2181b96c26Sopenharmony_ci    deps += [
2281b96c26Sopenharmony_ci      "${dlp_root_dir}/interfaces/inner_api/dlp_fuse/test:unittest",
2381b96c26Sopenharmony_ci      "${dlp_root_dir}/interfaces/inner_api/dlp_parse/test:unittest",
2481b96c26Sopenharmony_ci      "${dlp_root_dir}/interfaces/inner_api/dlp_permission/test:unittest",
2581b96c26Sopenharmony_ci      "${dlp_root_dir}/services/dlp_permission/sa/test:unittest",
2681b96c26Sopenharmony_ci    ]
2781b96c26Sopenharmony_ci  }
2881b96c26Sopenharmony_ci}
2981b96c26Sopenharmony_ci
3081b96c26Sopenharmony_cigroup("dlp_permission_build_fuzz_test") {
3181b96c26Sopenharmony_ci  testonly = true
3281b96c26Sopenharmony_ci  deps = []
3381b96c26Sopenharmony_ci  if (is_standard_system) {
3481b96c26Sopenharmony_ci    deps += [ "fuzztest/dlp_permission:fuzztest" ]
3581b96c26Sopenharmony_ci  }
3681b96c26Sopenharmony_ci}
37