Snap for 7110675 from 835b8620c7f98af3dc31d857257e80a12d10c778 to sdk-release
Change-Id: I0146aa135e584f0a0f9fa581501851f5d03187be
diff --git a/Android.bp b/Android.bp
index b18e80b..5b15dca 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,3 +43,25 @@
"//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",
],
}
+
+cc_fuzz {
+ name: "libsrtp2-fuzzer",
+ host_supported: true,
+ vendor: true,
+ static_libs: ["libsrtp2"],
+ cflags: [
+ "-Wno-unused-parameter",
+ ],
+ srcs: [
+ "fuzzer/fuzzer.c",
+ "fuzzer/mt19937.cpp",
+ "fuzzer/testmem.c",
+ ],
+ // There are so many corpus files that when all are used it
+ // exceeds the posix_spawn limit. So, only some of the files
+ // are used.
+ corpus: ["fuzzer/corpus/0*"],
+ fuzz_config: {
+ componentid: 87896
+ }
+}