Added ndk_sync_codec_fuzzer
Test: ./ndk_sync_codec_fuzzer
Bug: 231667886
Change-Id: I413d44bb6f89a0c9941c09ef8fc623a8acf03fb0
(cherry picked from commit b2306f1344399c41fbb2c63235b0dc761bdbe8e6)
diff --git a/media/ndk/fuzzer/Android.bp b/media/ndk/fuzzer/Android.bp
index 924ca25..3fab936 100644
--- a/media/ndk/fuzzer/Android.bp
+++ b/media/ndk/fuzzer/Android.bp
@@ -97,3 +97,13 @@
defaults: ["libmediandk_fuzzer_defaults"],
shared_libs: ["libbinder_ndk",],
}
+
+cc_fuzz {
+ name: "ndk_sync_codec_fuzzer",
+ srcs: [
+ "ndk_sync_codec_fuzzer.cpp",
+ "NdkMediaCodecFuzzerBase.cpp",
+ ],
+ header_libs: ["libnativewindow_headers",],
+ defaults: ["libmediandk_fuzzer_defaults",],
+}