• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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("../../../os_account.gni")
15group("fuzztest") {
16  testonly = true
17
18  deps = [
19    # deps file
20    "activateosaccountstub_fuzzer:ActivateOsAccountStubFuzzTest",
21    "checkosaccountconstraintenabledstub_fuzzer:CheckOsAccountConstraintEnabledStubFuzzTest",
22    "deactivateosaccountstub_fuzzer:DeactivateOsAccountStubFuzzTest",
23    "dumpstatestub_fuzzer:DumpStateStubFuzzTest",
24    "getforegroundosaccountlocalidstub_fuzzer:GetForegroundOsAccountLocalIdStubFuzzTest",
25    "getosaccountallconstraintsstub_fuzzer:GetOsAccountAllConstraintsStubFuzzTest",
26    "getosaccountlocalidbyserialnumberstub_fuzzer:GetOsAccountLocalIdBySerialNumberStubFuzzTest",
27    "getosaccountprofilephotostub_fuzzer:GetOsAccountProfilePhotoStubFuzzTest",
28    "getosaccountshortnamebyidstub_fuzzer:GetOsAccountShortNameByIdStubFuzzTest",
29    "getosaccounttypestub_fuzzer:GetOsAccountTypeStubFuzzTest",
30    "getserialnumberbyosaccountlocalidstub_fuzzer:GetSerialNumberByOsAccountLocalIdStubFuzzTest",
31    "isosaccountactivedstub_fuzzer:IsOsAccountActivedStubFuzzTest",
32    "isosaccountcompletedstub_fuzzer:IsOsAccountCompletedStubFuzzTest",
33    "isosaccountconstraintenablestub_fuzzer:IsOsAccountConstraintEnableStubFuzzTest",
34    "isosaccountexistsstub_fuzzer:IsOsAccountExistsStubFuzzTest",
35    "isosaccountforegroundstub_fuzzer:IsOsAccountForegroundStubFuzzTest",
36    "isosaccountverifiedstub_fuzzer:IsOsAccountVerifiedStubFuzzTest",
37    "osaccountstatereplycallbackstub_fuzzer:OsAccountStateReplyCallbackStubFuzzTest",
38    "proccreateosaccountstub_fuzzer:ProcCreateOsAccountStubFuzzTest",
39    "proccreateosaccountwithshortnamestub_fuzzer:ProcCreateOsAccountWithShortNameStubFuzzTest",
40    "procsetosaccountnamestub_fuzzer:ProcSetOsAccountNameStubFuzzTest",
41    "procstartosaccountstub_fuzzer:ProcStartOsAccountStubFuzzTest",
42    "queryosaccountbyidstub_fuzzer:QueryOsAccountByIdStubFuzzTest",
43    "queryosaccountconstraintsourcetypesstub_fuzzer:QueryOsAccountConstraintSourceTypesStubFuzzTest",
44    "removeosaccountstub_fuzzer:RemoveOsAccountStubFuzzTest",
45    "setcurrentosaccountisverifiedstub_fuzzer:SetCurrentOsAccountIsVerifiedStubFuzzTest",
46    "setdefaultactivatedosaccountstub_fuzzer:SetDefaultActivatedOsAccountStubFuzzTest",
47    "setglobalosaccountconstraintsstub_fuzzer:SetGlobalOsAccountConstraintsStubFuzzTest",
48    "setosaccountconstraintsstub_fuzzer:SetOsAccountConstraintsStubFuzzTest",
49    "setosaccountisverifiedstub_fuzzer:SetOsAccountIsVerifiedStubFuzzTest",
50    "setosaccountprofilephotostub_fuzzer:SetOsAccountProfilePhotoStubFuzzTest",
51    "setosaccounttoberemovedstub_fuzzer:SetOsAccountToBeRemovedStubFuzzTest",
52    "setspecificosaccountconstraintsstub_fuzzer:SetSpecificOsAccountConstraintsStubFuzzTest",
53    "subscribeosaccountstub_fuzzer:SubscribeOsAccountStubFuzzTest",
54  ]
55
56  if (os_account_support_domain_accounts) {
57    deps += [
58      "createosaccountfordomainstub_fuzzer:CreateOsAccountForDomainStubFuzzTest",
59      "getosaccountdomaininfostub_fuzzer:GetOsAccountDomainInfoStubFuzzTest",
60      "getosaccountlocalidfromdomainstub_fuzzer:GetOsAccountLocalIdFromDomainStubFuzzTest",
61    ]
62  }
63}
64