summaryrefslogtreecommitdiffstats
path: root/media/libwebp/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'media/libwebp/moz.build')
-rw-r--r--media/libwebp/moz.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/media/libwebp/moz.build b/media/libwebp/moz.build
new file mode 100644
index 0000000000..e10c6588a3
--- /dev/null
+++ b/media/libwebp/moz.build
@@ -0,0 +1,32 @@
+# -*- 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', 'Graphics: ImageLib')
+
+EXPORTS.webp += [
+ 'src/webp/decode.h',
+ 'src/webp/demux.h',
+ 'src/webp/encode.h',
+ 'src/webp/format_constants.h',
+ 'src/webp/mux_types.h',
+ 'src/webp/types.h',
+]
+
+DIRS += [
+ 'sharpyuv',
+ 'src/dec',
+ 'src/demux',
+ 'src/dsp',
+ 'src/enc',
+ 'src/moz',
+ 'src/utils',
+]
+
+FINAL_LIBRARY = 'gkmedias'
+
+# We allow warnings for third-party code that can be updated from upstream.
+AllowCompilerWarnings()