| Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { | 
|  | 2 | // See: http://go/android-license-faq | 
|  | 3 | // A large-scale-change added 'default_applicable_licenses' to import | 
|  | 4 | // all of the 'license_kinds' from "frameworks_av_media_mtp_license" | 
|  | 5 | // to get the below license kinds: | 
|  | 6 | //   SPDX-license-identifier-Apache-2.0 | 
|  | 7 | default_applicable_licenses: ["frameworks_av_media_mtp_license"], | 
|  | 8 | } | 
|  | 9 |  | 
| James Wei | dd2f968 | 2020-11-09 22:42:15 +0800 | [diff] [blame] | 10 | cc_fuzz { | 
|  | 11 | name: "mtp_fuzzer", | 
|  | 12 | srcs: [ | 
|  | 13 | "mtp_fuzzer.cpp", | 
|  | 14 | "MtpMockDatabase.cpp", | 
|  | 15 | ], | 
|  | 16 | shared_libs: [ | 
|  | 17 | "libmtp", | 
|  | 18 | "libbase", | 
|  | 19 | "liblog", | 
|  | 20 | "libutils", | 
|  | 21 | ], | 
|  | 22 | cflags: [ | 
|  | 23 | "-Wall", | 
|  | 24 | "-Wextra", | 
|  | 25 | "-Werror", | 
|  | 26 | "-DMTP_DEVICE", | 
|  | 27 | "-Wno-unused-parameter", | 
|  | 28 | ], | 
|  | 29 | dictionary: "mtp_fuzzer.dict", | 
|  | 30 | corpus: ["corpus/*"], | 
|  | 31 |  | 
|  | 32 | fuzz_config: { | 
|  | 33 |  | 
|  | 34 | cc: ["jameswei@google.com"], | 
|  | 35 | componentid: 1344, | 
|  | 36 | acknowledgement: [ | 
|  | 37 | "Grant Hernandez of Google", | 
|  | 38 | ], | 
|  | 39 | }, | 
|  | 40 | } |