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