summaryrefslogtreecommitdiffstats
path: root/media/libwebp/dec/moz.build
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-24 13:20:46 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 09:58:46 +0100
commitb094b135956829a293dd409eefa39f2912434fd9 (patch)
treec45e685a896948fd5bff5fee0d5adbf1d85bc516 /media/libwebp/dec/moz.build
parent2c1f833a092ef7af17f072749940bcb47da19aa6 (diff)
downloadUXP-b094b135956829a293dd409eefa39f2912434fd9.tar
UXP-b094b135956829a293dd409eefa39f2912434fd9.tar.gz
UXP-b094b135956829a293dd409eefa39f2912434fd9.tar.lz
UXP-b094b135956829a293dd409eefa39f2912434fd9.tar.xz
UXP-b094b135956829a293dd409eefa39f2912434fd9.zip
Add build files to support libwebp decoding.
Diffstat (limited to 'media/libwebp/dec/moz.build')
-rw-r--r--media/libwebp/dec/moz.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/media/libwebp/dec/moz.build b/media/libwebp/dec/moz.build
new file mode 100644
index 000000000..d988ae658
--- /dev/null
+++ b/media/libwebp/dec/moz.build
@@ -0,0 +1,26 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+with Files('**'):
+ BUG_COMPONENT = ('Core', 'ImageLib')
+
+SOURCES += [
+ 'alpha_dec.c',
+ 'buffer_dec.c',
+ 'frame_dec.c',
+ 'idec_dec.c',
+ 'io_dec.c',
+ 'quant_dec.c',
+ 'tree_dec.c',
+ 'vp8_dec.c',
+ 'vp8l_dec.c',
+ 'webp_dec.c',
+]
+
+FINAL_LIBRARY = 'gkmedias'
+
+# We allow warnings for third-party code that can be updated from upstream.
+ALLOW_COMPILER_WARNINGS = True