1fc0b0055Sopenharmony_ci# Copyright (c) 2022-2024 Huawei Device Co., Ltd. 2fc0b0055Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3fc0b0055Sopenharmony_ci# you may not use this file except in compliance with the License. 4fc0b0055Sopenharmony_ci# You may obtain a copy of the License at 5fc0b0055Sopenharmony_ci# 6fc0b0055Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7fc0b0055Sopenharmony_ci# 8fc0b0055Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9fc0b0055Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10fc0b0055Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11fc0b0055Sopenharmony_ci# See the License for the specific language governing permissions and 12fc0b0055Sopenharmony_ci# limitations under the License. 13fc0b0055Sopenharmony_ci 14fc0b0055Sopenharmony_ciimport("../../../../access_token.gni") 15fc0b0055Sopenharmony_cigroup("fuzztest") { 16fc0b0055Sopenharmony_ci testonly = true 17fc0b0055Sopenharmony_ci deps = [] 18fc0b0055Sopenharmony_ci if (is_standard_system && ability_base_enable == true) { 19fc0b0055Sopenharmony_ci deps += [ 20fc0b0055Sopenharmony_ci "addpermissionusedrecord_fuzzer:AddPermissionUsedRecordFuzzTest", 21fc0b0055Sopenharmony_ci "getpermissionusedrecords_fuzzer:GetPermissionUsedRecordsFuzzTest", 22fc0b0055Sopenharmony_ci "getpermissionusedtypeinfos_fuzzer:GetPermissionUsedTypeInfosFuzzTest", 23fc0b0055Sopenharmony_ci "isallowedusingpermission_fuzzer:IsAllowedUsingPermissionFuzzTest", 24fc0b0055Sopenharmony_ci "registerpermactivestatuscallback_fuzzer:RegisterPermActiveStatusCallbackFuzzTest", 25fc0b0055Sopenharmony_ci "removepermissionusedrecords_fuzzer:RemovePermissionUsedRecordsFuzzTest", 26fc0b0055Sopenharmony_ci "setmutepolicy_fuzzer:SetMutePolicyFuzzTest", 27fc0b0055Sopenharmony_ci "startusingpermission001_fuzzer:StartUsingPermission001FuzzTest", 28fc0b0055Sopenharmony_ci "startusingpermission_fuzzer:StartUsingPermissionFuzzTest", 29fc0b0055Sopenharmony_ci "stopusingpermission_fuzzer:StopUsingPermissionFuzzTest", 30fc0b0055Sopenharmony_ci "unregisterpermactivestatuscallback_fuzzer:UnRegisterPermActiveStatusCallbackFuzzTest", 31fc0b0055Sopenharmony_ci ] 32fc0b0055Sopenharmony_ci if (security_component_enhance_enable) { 33fc0b0055Sopenharmony_ci deps += [ 34fc0b0055Sopenharmony_ci "getseccompenhance_fuzzer:GetSecCompEnhanceFuzzTest", 35fc0b0055Sopenharmony_ci "getspecialseccompenhance_fuzzer:GetSpecialSecCompEnhanceFuzzTest", 36fc0b0055Sopenharmony_ci "registerseccompenhance_fuzzer:RegisterSecCompEnhanceFuzzTest", 37fc0b0055Sopenharmony_ci "updateseccompenhance_fuzzer:UpdateSecCompEnhanceFuzzTest", 38fc0b0055Sopenharmony_ci ] 39fc0b0055Sopenharmony_ci } 40fc0b0055Sopenharmony_ci } 41fc0b0055Sopenharmony_ci} 42