| 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_base_libs_androidfw_license" |
| 5 |
// to get the below license kinds: |
| 6 |
// SPDX-license-identifier-Apache-2.0 |
| 7 |
default_applicable_licenses: ["frameworks_base_libs_androidfw_license"], |
| 8 |
} |
| 9 |
|
| 10 |
cc_fuzz { |
| 11 |
name: "cursorwindow_fuzzer", |
| 12 |
srcs: [ |
| 13 |
"cursorwindow_fuzzer.cpp", |
| 14 |
], |
| 15 |
host_supported: true, |
| 16 |
corpus: ["corpus/*"], |
| 17 |
static_libs: ["libgmock"], |
| 18 |
target: { |
| 19 |
android: { |
| 20 |
shared_libs: [ |
| 21 |
"libandroidfw_fuzzer_lib", |
| 22 |
"libbase", |
| 23 |
"libbinder", |
| 24 |
"libcutils", |
| 25 |
"liblog", |
| 26 |
"libutils", |
| 27 |
], |
| 28 |
}, |
| 29 |
host: { |
| 30 |
static_libs: [ |
| 31 |
"libandroidfw_fuzzer_lib", |
| 32 |
"libbase", |
| 33 |
"libbinder", |
| 34 |
"libcutils", |
| 35 |
"liblog", |
| 36 |
"libutils", |
| 37 |
], |
| 38 |
}, |
| 39 |
darwin: { |
| 40 |
// libbinder is not supported on mac |
| 41 |
enabled: false, |
| 42 |
}, |
| 43 |
}, |
| 44 |
} |