1# Copyright (c) 2024-2025 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("../../../os_account.gni") 15group("fuzztest") { 16 testonly = true 17 18 deps = [ 19 # deps file 20 "activateosaccountstub_fuzzer:ActivateOsAccountStubFuzzTest", 21 "checkosaccountconstraintenabledstub_fuzzer:CheckOsAccountConstraintEnabledStubFuzzTest", 22 "createosaccountwithfullinfostub_fuzzer:CreateOsAccountWithFullInfoStubFuzzTest", 23 "createosaccountwithshortnamestub_fuzzer:CreateOsAccountWithShortNameStubFuzzTest", 24 "deactivateosaccountstub_fuzzer:DeactivateOsAccountStubFuzzTest", 25 "dumpstatestub_fuzzer:DumpStateStubFuzzTest", 26 "getforegroundosaccountlocalidstub_fuzzer:GetForegroundOsAccountLocalIdStubFuzzTest", 27 "getosaccountallconstraintsstub_fuzzer:GetOsAccountAllConstraintsStubFuzzTest", 28 "getosaccountlocalidbyserialnumberstub_fuzzer:GetOsAccountLocalIdBySerialNumberStubFuzzTest", 29 "getosaccountnamebyidstub_fuzzer:GetOsAccountNameByIdStubFuzzTest", 30 "getosaccountprofilephotostub_fuzzer:GetOsAccountProfilePhotoStubFuzzTest", 31 "getosaccountshortnamebyidstub_fuzzer:GetOsAccountShortNameByIdStubFuzzTest", 32 "getosaccounttypestub_fuzzer:GetOsAccountTypeStubFuzzTest", 33 "getserialnumberbyosaccountlocalidstub_fuzzer:GetSerialNumberByOsAccountLocalIdStubFuzzTest", 34 "isosaccountactivedstub_fuzzer:IsOsAccountActivedStubFuzzTest", 35 "isosaccountcompletedstub_fuzzer:IsOsAccountCompletedStubFuzzTest", 36 "isosaccountconstraintenablestub_fuzzer:IsOsAccountConstraintEnableStubFuzzTest", 37 "isosaccountdeactivatingstub_fuzzer:IsOsAccountDeactivatingStubFuzzTest", 38 "isosaccountexistsstub_fuzzer:IsOsAccountExistsStubFuzzTest", 39 "isosaccountforegroundstub_fuzzer:IsOsAccountForegroundStubFuzzTest", 40 "isosaccountverifiedstub_fuzzer:IsOsAccountVerifiedStubFuzzTest", 41 "osaccountstatereplycallbackstub_fuzzer:OsAccountStateReplyCallbackStubFuzzTest", 42 "proccreateosaccountstub_fuzzer:ProcCreateOsAccountStubFuzzTest", 43 "proccreateosaccountwithshortnamestub_fuzzer:ProcCreateOsAccountWithShortNameStubFuzzTest", 44 "procsetosaccountnamestub_fuzzer:ProcSetOsAccountNameStubFuzzTest", 45 "procstartosaccountstub_fuzzer:ProcStartOsAccountStubFuzzTest", 46 "queryosaccountbyidstub_fuzzer:QueryOsAccountByIdStubFuzzTest", 47 "queryosaccountconstraintsourcetypesstub_fuzzer:QueryOsAccountConstraintSourceTypesStubFuzzTest", 48 "removeosaccountstub_fuzzer:RemoveOsAccountStubFuzzTest", 49 "setcurrentosaccountisverifiedstub_fuzzer:SetCurrentOsAccountIsVerifiedStubFuzzTest", 50 "setdefaultactivatedosaccountstub_fuzzer:SetDefaultActivatedOsAccountStubFuzzTest", 51 "setglobalosaccountconstraintsstub_fuzzer:SetGlobalOsAccountConstraintsStubFuzzTest", 52 "setosaccountconstraintsstub_fuzzer:SetOsAccountConstraintsStubFuzzTest", 53 "setosaccountisverifiedstub_fuzzer:SetOsAccountIsVerifiedStubFuzzTest", 54 "setosaccountprofilephotostub_fuzzer:SetOsAccountProfilePhotoStubFuzzTest", 55 "setosaccounttoberemovedstub_fuzzer:SetOsAccountToBeRemovedStubFuzzTest", 56 "setspecificosaccountconstraintsstub_fuzzer:SetSpecificOsAccountConstraintsStubFuzzTest", 57 "subscribeosaccountstub_fuzzer:SubscribeOsAccountStubFuzzTest", 58 "updateosaccountwithfullinfostub_fuzzer:UpdateOsAccountWithFullInfoStubFuzzTest", 59 "subscribeosaccountconstraintstub_fuzzer:SubscribeOsAccountConstraintStubFuzzTest", 60 "unsubscribeosaccountconstraintstub_fuzzer:UnsubscribeOsAccountConstraintStubFuzzTest", 61 ] 62 63 if (os_account_support_domain_accounts) { 64 deps += [ 65 "binddomainaccountstub_fuzzer:BindDomainAccountStubFuzzTest", 66 "createosaccountfordomainstub_fuzzer:CreateOsAccountForDomainStubFuzzTest", 67 "getosaccountdomaininfostub_fuzzer:GetOsAccountDomainInfoStubFuzzTest", 68 "getosaccountlocalidfromdomainstub_fuzzer:GetOsAccountLocalIdFromDomainStubFuzzTest", 69 ] 70 } 71 72 if (os_account_support_lock_os_account) { 73 deps += [ 74 "lockosaccountstub_fuzzer:LockOsAccountStubFuzzTest", 75 "publishosaccountlockeventstub_fuzzer:PublishOsAccountLockEventStubFuzzTest", 76 ] 77 } 78} 79