Ayushi Khopkar | 20bf5e7 | 2021-06-09 09:18:45 +0530 | [diff] [blame^] | 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 | */ |
| 17 | |
| 18 | cc_defaults { |
| 19 | name: "keymaster4_fuzzer_defaults", |
| 20 | static_libs: [ |
| 21 | "libbase", |
| 22 | "liblog", |
| 23 | "libkeymaster4support", |
| 24 | "libutils", |
| 25 | ], |
| 26 | shared_libs: [ |
| 27 | "android.hardware.keymaster@4.0", |
| 28 | "libcrypto", |
| 29 | "libhidlbase", |
| 30 | ], |
| 31 | fuzz_config: { |
| 32 | cc: [ |
| 33 | "android-media-fuzzing-reports@google.com", |
| 34 | ], |
| 35 | componentid: 533764, |
| 36 | }, |
| 37 | } |
| 38 | |
| 39 | cc_fuzz { |
| 40 | name: "keymaster4_attestation_fuzzer", |
| 41 | defaults: [ |
| 42 | "keymaster4_fuzzer_defaults", |
| 43 | ], |
| 44 | srcs: [ |
| 45 | "keymaster4_attestation_fuzzer.cpp", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | cc_fuzz { |
| 50 | name: "keymaster4_authSet_fuzzer", |
| 51 | defaults: [ |
| 52 | "keymaster4_fuzzer_defaults", |
| 53 | ], |
| 54 | srcs: [ |
| 55 | "keymaster4_authSet_fuzzer.cpp", |
| 56 | ], |
| 57 | } |
| 58 | |
| 59 | cc_fuzz { |
| 60 | name: "keymaster4_utils_fuzzer", |
| 61 | defaults: [ |
| 62 | "keymaster4_fuzzer_defaults", |
| 63 | ], |
| 64 | srcs: [ |
| 65 | "keymaster4_utils_fuzzer.cpp", |
| 66 | ], |
| 67 | } |