1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5java_fuzz { 6 name: "example_java_jni_no_crash_fuzzer", 7 srcs: [ 8 "ExampleJavaJniFuzzer.java", 9 ], 10 host_supported: true, 11 device_supported: false, 12 static_libs: [ 13 "jazzer", 14 ], 15 fuzz_config: { 16 fuzz_on_haiku_device: false, 17 fuzz_on_haiku_host: false, 18 }, 19 jni_libs: [ 20 "libnative_asan_no_crash", 21 "libc++", 22 ], 23} 24 25cc_library_shared { 26 name: "libnative_asan_no_crash", 27 host_supported: true, 28 srcs: [ 29 "example_jni.cpp", 30 ], 31 static_libs: [ 32 "libnativehelper_lazy", 33 ], 34 cflags: [ 35 "-Wno-unused-parameter", 36 ], 37} 38