aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp73
-rw-r--r--Android.bp.in73
2 files changed, 146 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 70e113c07..1f0761c76 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1163,3 +1163,76 @@ cc_library {
blacklist: "libvpx_blacklist.txt",
},
}
+
+cc_fuzz {
+ name: "vp9_dec_fuzzer",
+ host_supported: true,
+ srcs: [
+ "libvpx/examples/vpx_dec_fuzzer.cc",
+ ],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+ arch: {
+ arm: {
+ neon: {
+ local_include_dirs: ["config/arm-neon"],
+ },
+ },
+
+ arm64: {
+ local_include_dirs: ["config/arm64"],
+ },
+
+ x86: {
+ local_include_dirs: ["config/x86"],
+ },
+
+ x86_64: {
+ local_include_dirs: ["config/x86_64"],
+ },
+ },
+ cflags: ["-DDECODER=vp9"],
+ static_libs: [
+ "libvpx",
+ ],
+}
+
+cc_fuzz {
+ name: "vp8_dec_fuzzer",
+ host_supported: true,
+ srcs: [
+ "libvpx/examples/vpx_dec_fuzzer.cc",
+ ],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+ arch: {
+ arm: {
+ neon: {
+ local_include_dirs: ["config/arm-neon"],
+ },
+ },
+
+ arm64: {
+ local_include_dirs: ["config/arm64"],
+ },
+
+ x86: {
+ local_include_dirs: ["config/x86"],
+ },
+
+ x86_64: {
+ local_include_dirs: ["config/x86_64"],
+ },
+ },
+
+ cflags: ["-DDECODER=vp8"],
+ static_libs: [
+ "libvpx",
+ ],
+}
diff --git a/Android.bp.in b/Android.bp.in
index 91a0ec645..612551c88 100644
--- a/Android.bp.in
+++ b/Android.bp.in
@@ -59,3 +59,76 @@ cc_library {
blacklist: "libvpx_blacklist.txt",
},
}
+
+cc_fuzz {
+ name: "vp9_dec_fuzzer",
+ host_supported: true,
+ srcs: [
+ "libvpx/examples/vpx_dec_fuzzer.cc",
+ ],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+ arch: {
+ arm: {
+ neon: {
+ local_include_dirs: ["config/arm-neon"],
+ },
+ },
+
+ arm64: {
+ local_include_dirs: ["config/arm64"],
+ },
+
+ x86: {
+ local_include_dirs: ["config/x86"],
+ },
+
+ x86_64: {
+ local_include_dirs: ["config/x86_64"],
+ },
+ },
+ cflags: ["-DDECODER=vp9"],
+ static_libs: [
+ "libvpx",
+ ],
+}
+
+cc_fuzz {
+ name: "vp8_dec_fuzzer",
+ host_supported: true,
+ srcs: [
+ "libvpx/examples/vpx_dec_fuzzer.cc",
+ ],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+ arch: {
+ arm: {
+ neon: {
+ local_include_dirs: ["config/arm-neon"],
+ },
+ },
+
+ arm64: {
+ local_include_dirs: ["config/arm64"],
+ },
+
+ x86: {
+ local_include_dirs: ["config/x86"],
+ },
+
+ x86_64: {
+ local_include_dirs: ["config/x86_64"],
+ },
+ },
+
+ cflags: ["-DDECODER=vp8"],
+ static_libs: [
+ "libvpx",
+ ],
+}