diff options
Diffstat (limited to 'fuzzer/Android.bp')
-rw-r--r-- | fuzzer/Android.bp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/fuzzer/Android.bp b/fuzzer/Android.bp new file mode 100644 index 0000000..5f4a18b --- /dev/null +++ b/fuzzer/Android.bp @@ -0,0 +1,31 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_gptfdisk_license" + // to get the below license kinds: + // SPDX-license-identifier-GPL-2.0 + default_applicable_licenses: ["external_gptfdisk_license"], +} + +cc_fuzz { + name: "libgptf_fuzzer", + srcs: ["libgptf_fuzzer.cc"], + cflags: ["-DENABLE_HEAP_DISKIO"], + host_supported: true, + corpus: ["corpus/*"], + static_libs: ["libgmock"], + target: { + android: { + static_libs: [ + "libgptf_fuzzer_lib", + "libext2_uuid", + ], + }, + host: { + static_libs: [ + "libgptf_fuzzer_lib", + "libext2_uuid", + ], + }, + }, +} |