moz.build (976B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files('**'): 8 BUG_COMPONENT = ('Core', 'Graphics: ImageLib') 9 10 EXPORTS.webp += [ 11 'src/webp/decode.h', 12 'src/webp/demux.h', 13 'src/webp/encode.h', 14 'src/webp/format_constants.h', 15 'src/webp/mux_types.h', 16 'src/webp/types.h', 17 ] 18 19 # Note this does not enable threaded decoding, callers into libwebp still have 20 # to ask for it. This is necessary for locks even without threaded decoding. 21 DEFINES['WEBP_USE_THREAD'] = 1; 22 23 DIRS += [ 24 'sharpyuv', 25 'src/dec', 26 'src/demux', 27 'src/dsp', 28 'src/enc', 29 'src/moz', 30 'src/utils', 31 ] 32 33 FINAL_LIBRARY = 'xul' 34 35 # We allow warnings for third-party code that can be updated from upstream. 36 AllowCompilerWarnings()