aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-01-16 14:13:35 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-01-16 14:13:35 +0000
commitcccd0d8f8b6cabb265fd576eb8dfa18b41b10031 (patch)
treea9e81d46cf95c4edbbf2cbc0cfe9263e1b1609a2
parentf2a6f38b30ab476a1ec152be58c17f4d6dab1033 (diff)
parent8d476e951e7ebf91bbb98f759763d3c264cd963f (diff)
downloadlibvpx-cccd0d8f8b6cabb265fd576eb8dfa18b41b10031.tar.gz
Merge "Updated Android.bp to build fuzzer targets" am: 02392be07c am: 8d476e951e
Change-Id: I8a219beacfceb8670ed2a0ecc6bb642513170652
-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",
+ ],
+}