From b094b135956829a293dd409eefa39f2912434fd9 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 24 Jul 2017 13:20:46 +0200 Subject: Add build files to support libwebp decoding. --- media/libwebp/moz.build | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 media/libwebp/moz.build (limited to 'media/libwebp/moz.build') diff --git a/media/libwebp/moz.build b/media/libwebp/moz.build new file mode 100644 index 000000000..7d3aa9d0f --- /dev/null +++ b/media/libwebp/moz.build @@ -0,0 +1,28 @@ +# -*- 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') + +EXPORTS.webp += [ + 'webp/decode.h', + 'webp/demux.h', + 'webp/mux_types.h', + 'webp/types.h', +] + +DIRS += [ + 'dec', + 'demux', + 'dsp', + 'moz', + 'utils', +] + +FINAL_LIBRARY = 'gkmedias' + +# We allow warnings for third-party code that can be updated from upstream. +ALLOW_COMPILER_WARNINGS = True -- cgit v1.2.3