1/* 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 17package { 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 26cc_fuzz { 27 name: "keystoreGetWifiHidl_fuzzer", 28 vendor: true, 29 srcs: [ 30 "keystoreGetWifiHidl_fuzzer.cpp", 31 ], 32 static_libs: [ 33 "libkeystore-wifi-hidl", 34 ], 35 shared_libs: [ 36 "android.system.wifi.keystore@1.0", 37 "libhidlbase", 38 "liblog", 39 "libutils", 40 ], 41 fuzz_config: { 42 cc: [ 43 "android-media-fuzzing-reports@google.com", 44 ], 45 componentid: 155276, 46 }, 47} 48 49cc_defaults { 50 name: "keystoreAttestation_defaults", 51 static_libs: [ 52 "libkeystore-attestation-application-id", 53 "liblog", 54 "libbase", 55 "libhidlbase", 56 ], 57 shared_libs: [ 58 "libbinder", 59 "libcrypto", 60 "libutils", 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} 109