1# Copyright (c) 2022-2024 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 14import("../../../../access_token.gni") 15group("fuzztest") { 16 testonly = true 17 deps = [] 18 if (is_standard_system && ability_base_enable == true) { 19 deps += [ 20 "addpermissionusedrecord_fuzzer:AddPermissionUsedRecordFuzzTest", 21 "getpermissionusedrecords_fuzzer:GetPermissionUsedRecordsFuzzTest", 22 "getpermissionusedtypeinfos_fuzzer:GetPermissionUsedTypeInfosFuzzTest", 23 "isallowedusingpermission_fuzzer:IsAllowedUsingPermissionFuzzTest", 24 "registerpermactivestatuscallback_fuzzer:RegisterPermActiveStatusCallbackFuzzTest", 25 "removepermissionusedrecords_fuzzer:RemovePermissionUsedRecordsFuzzTest", 26 "setmutepolicy_fuzzer:SetMutePolicyFuzzTest", 27 "startusingpermission001_fuzzer:StartUsingPermission001FuzzTest", 28 "startusingpermission_fuzzer:StartUsingPermissionFuzzTest", 29 "stopusingpermission_fuzzer:StopUsingPermissionFuzzTest", 30 "unregisterpermactivestatuscallback_fuzzer:UnRegisterPermActiveStatusCallbackFuzzTest", 31 ] 32 if (security_component_enhance_enable) { 33 deps += [ 34 "getseccompenhance_fuzzer:GetSecCompEnhanceFuzzTest", 35 "getspecialseccompenhance_fuzzer:GetSpecialSecCompEnhanceFuzzTest", 36 "registerseccompenhance_fuzzer:RegisterSecCompEnhanceFuzzTest", 37 "updateseccompenhance_fuzzer:UpdateSecCompEnhanceFuzzTest", 38 ] 39 } 40 } 41} 42