aboutsummaryrefslogtreecommitdiff
path: root/fuzz/Android.bp
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2022-08-04 09:43:30 -0700
committerVignesh Venkatasubramanian <vigneshv@google.com>2022-08-25 17:50:21 +0000
commita090195adab9b936bff1deae58ed5c0f141430b4 (patch)
treee4e9c86656d92ad19e0fcc3fae39a0116c510090 /fuzz/Android.bp
parent6d2ffb9ab7f8de0fc513aebaeff15cbec1354240 (diff)
downloadlibyuv-a090195adab9b936bff1deae58ed5c0f141430b4.tar.gz
external/libyuv: Move files/fuzz to top level directory
fuzz subdirectory is not part of upstream libyuv and is specific to android's copy of libyuv. So by moving it to the top level external/libyuv directory, we can make sure that "files" subdirectory contains a pristine copy of upstream libyuv. It also makes updating libyuv from upstream easier. Bug: 241008246 Test: libyuv_mjpeg_dec_fuzz target builds successfully Merged-In: Iab37b2c9365725362443408f5fc493730fafcd86 Change-Id: I8684819a8069c5cd0f2b8a36824ee424cf086130
Diffstat (limited to 'fuzz/Android.bp')
-rw-r--r--fuzz/Android.bp24
1 files changed, 24 insertions, 0 deletions
diff --git a/fuzz/Android.bp b/fuzz/Android.bp
new file mode 100644
index 00000000..a8d552b1
--- /dev/null
+++ b/fuzz/Android.bp
@@ -0,0 +1,24 @@
+
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_libyuv_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["external_libyuv_license"],
+}
+
+cc_fuzz {
+ name: "libyuv_mjpeg_dec_fuzz",
+ host_supported: false,
+ srcs: [
+ "mjpeg_dec_fuzz.cc",
+ ],
+ static_libs: [
+ "libyuv",
+ ],
+
+ shared_libs: [
+ "libjpeg",
+ ],
+}