blob: 589cef7a3fbad90258941e8f4ddb9e6d2f26f760 [file] [log] [blame]
Aditya Wazir498b6eb2021-05-04 13:55:31 +05301/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Bob Badour181857f2021-11-04 11:00:55 -070017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "system_security_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["system_security_license"],
24}
25
Aditya Wazir498b6eb2021-05-04 13:55:31 +053026cc_fuzz {
27 name: "keystoreGetWifiHidl_fuzzer",
28 vendor: true,
29 srcs: [
30 "keystoreGetWifiHidl_fuzzer.cpp",
31 ],
32 static_libs: [
33 "libkeystore-wifi-hidl",
34 "libutils",
35 ],
36 shared_libs: [
37 "android.system.wifi.keystore@1.0",
38 "libhidlbase",
39 "liblog",
40 ],
41 fuzz_config: {
42 cc: [
43 "android-media-fuzzing-reports@google.com",
44 ],
45 componentid: 155276,
46 },
47}
Aditya Wazir730a1332021-05-19 11:01:36 +053048
49cc_defaults {
50 name: "keystoreAttestation_defaults",
51 static_libs: [
52 "libkeystore-attestation-application-id",
53 "liblog",
54 "libutils",
55 "libbase",
56 "libhidlbase",
57 ],
58 shared_libs: [
59 "libbinder",
60 "libcrypto",
61 ],
62 fuzz_config: {
63 cc: [
64 "android-media-fuzzing-reports@google.com",
65 ],
66 componentid: 155276,
67 },
68}
69
70cc_fuzz {
71 name: "keystoreSignature_fuzzer",
72 srcs: [
73 "keystoreSignature_fuzzer.cpp",
74 ],
75 defaults: [
76 "keystoreAttestation_defaults",
77 ],
78}
79
80cc_fuzz {
81 name: "keystorePackageInfo_fuzzer",
82 srcs: [
83 "keystorePackageInfo_fuzzer.cpp",
84 ],
85 defaults: [
86 "keystoreAttestation_defaults",
87 ],
88}
89
90cc_fuzz {
91 name: "keystoreApplicationId_fuzzer",
92 srcs: [
93 "keystoreApplicationId_fuzzer.cpp",
94 ],
95 defaults: [
96 "keystoreAttestation_defaults",
97 ],
98}
99
100cc_fuzz {
101 name: "keystoreAttestationId_fuzzer",
102 srcs: [
103 "keystoreAttestationId_fuzzer.cpp",
104 ],
105 defaults: [
106 "keystoreAttestation_defaults",
107 ],
108}