• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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      "getpermissionusedrecordtogglestatus_fuzzer:GetPermissionUsedRecordToggleStatusFuzzTest",
23      "getpermissionusedtypeinfos_fuzzer:GetPermissionUsedTypeInfosFuzzTest",
24      "isallowedusingpermission_fuzzer:IsAllowedUsingPermissionFuzzTest",
25      "registerpermactivestatuscallback_fuzzer:RegisterPermActiveStatusCallbackFuzzTest",
26      "removepermissionusedrecords_fuzzer:RemovePermissionUsedRecordsFuzzTest",
27      "setmutepolicy_fuzzer:SetMutePolicyFuzzTest",
28      "setpermissionusedrecordtogglestatus_fuzzer:SetPermissionUsedRecordToggleStatusFuzzTest",
29      "startusingpermission001_fuzzer:StartUsingPermission001FuzzTest",
30      "startusingpermission_fuzzer:StartUsingPermissionFuzzTest",
31      "stopusingpermission_fuzzer:StopUsingPermissionFuzzTest",
32      "unregisterpermactivestatuscallback_fuzzer:UnRegisterPermActiveStatusCallbackFuzzTest",
33    ]
34    if (security_component_enhance_enable) {
35      deps += [
36        "getseccompenhance_fuzzer:GetSecCompEnhanceFuzzTest",
37        "getspecialseccompenhance_fuzzer:GetSpecialSecCompEnhanceFuzzTest",
38        "registerseccompenhance_fuzzer:RegisterSecCompEnhanceFuzzTest",
39        "updateseccompenhance_fuzzer:UpdateSecCompEnhanceFuzzTest",
40      ]
41    }
42  }
43}
44