• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023-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.
13import("../../../../access_token.gni")
14group("fuzztest") {
15  testonly = true
16
17  deps = []
18
19  if (is_standard_system && ability_base_enable == true) {
20    deps += [
21      "addpermissionusedrecordstub_fuzzer:AddPermissionUsedRecordStubFuzzTest",
22      "getpermissionusedrecordsasyncstub_fuzzer:GetPermissionUsedRecordsAsyncStubFuzzTest",
23      "getpermissionusedrecordsstub_fuzzer:GetPermissionUsedRecordsStubFuzzTest",
24      "getpermissionusedrecordtogglestatusstub_fuzzer:GetPermissionUsedRecordToggleStatusStubFuzzTest",
25      "getpermissionusedtypeinfosstub_fuzzer:GetPermissionUsedTypeInfosStubFuzzTest",
26      "isallowedusingpermissionstub_fuzzer:IsAllowedUsingPermissionStubFuzzTest",
27      "registerpermactivestatuscallbackstub_fuzzer:RegisterPermActiveStatusCallbackStubFuzzTest",
28      "removepermissionusedrecordsstub_fuzzer:RemovePermissionUsedRecordsStubFuzzTest",
29      "sethapwithfgreminderstub_fuzzer:SetHapWithFGReminderStubFuzzTest",
30      "setmutepolicystub_fuzzer:SetMutePolicyStubFuzzTest",
31      "setpermissionusedrecordtogglestatusstub_fuzzer:SetPermissionUsedRecordToggleStatusStubFuzzTest",
32      "startusingpermissioncallbackstub_fuzzer:StartUsingPermissionCallbackStubFuzzTest",
33      "startusingpermissionstub_fuzzer:StartUsingPermissionStubFuzzTest",
34      "stopusingpermissionstub_fuzzer:StopUsingPermissionStubFuzzTest",
35      "unregisterpermactivestatuscallbackstub_fuzzer:UnRegisterPermActiveStatusCallbackStubFuzzTest",
36    ]
37
38    if (security_component_enhance_enable) {
39      deps += [
40        "getseccompenhancestub_fuzzer:GetSecCompEnhanceStubFuzzTest",
41        "getspecialseccompenhancestub_fuzzer:GetSpecialSecCompEnhanceStubFuzzTest",
42        "registerseccompenhancestub_fuzzer:RegisterSecCompEnhanceStubFuzzTest",
43        "updateseccompenhancestub_fuzzer:UpdateSecCompEnhanceStubFuzzTest",
44      ]
45    }
46  }
47}
48