config/external/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/external/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +external_dirs = []
    1.11 +if not CONFIG['MOZ_NATIVE_SQLITE']:
    1.12 +    external_dirs += ['db/sqlite3/src']
    1.13 +
    1.14 +if not CONFIG['MOZ_NATIVE_JPEG']:
    1.15 +    external_dirs += ['media/libjpeg']
    1.16 +
    1.17 +if CONFIG['MOZ_UPDATER']:
    1.18 +    if not CONFIG['MOZ_NATIVE_BZ2']:
    1.19 +        external_dirs += ['modules/libbz2']
    1.20 +
    1.21 +if CONFIG['MOZ_VORBIS']:
    1.22 +    external_dirs += ['media/libvorbis']
    1.23 +
    1.24 +if CONFIG['MOZ_TREMOR']:
    1.25 +    external_dirs += ['media/libtremor']
    1.26 +
    1.27 +if CONFIG['MOZ_OPUS']:
    1.28 +    external_dirs += ['media/libopus']
    1.29 +
    1.30 +if CONFIG['MOZ_WEBM']:
    1.31 +    external_dirs += ['media/libnestegg']
    1.32 +
    1.33 +if CONFIG['MOZ_WEBM_ENCODER']:
    1.34 +    external_dirs += ['media/libmkv']
    1.35 +
    1.36 +if CONFIG['MOZ_VPX'] and not CONFIG['MOZ_NATIVE_LIBVPX']:
    1.37 +    external_dirs += ['media/libvpx']
    1.38 +
    1.39 +if not CONFIG['MOZ_NATIVE_PNG']:
    1.40 +    external_dirs += ['media/libpng']
    1.41 +
    1.42 +external_dirs += [
    1.43 +    'media/kiss_fft',
    1.44 +    'media/libcubeb',
    1.45 +    'media/libogg',
    1.46 +    'media/libtheora',
    1.47 +    'media/libspeex_resampler',
    1.48 +    'media/libsoundtouch',
    1.49 +]
    1.50 +
    1.51 +PARALLEL_DIRS += ['../../' + i for i in external_dirs]

mercurial