1 # -*- Mode: python; c-basic-offset: 4; 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/.
12 if not CONFIG['MOZ_NATIVE_JPEG']:
13 external_dirs += ['media/libjpeg']
15 if CONFIG['MOZ_UPDATER']:
16 if not CONFIG['MOZ_NATIVE_BZ2']:
17 external_dirs += ['modules/libbz2']
19 # There's no "native brotli" yet, but probably in the future...
20 external_dirs += ['modules/brotli']
22 if CONFIG['MOZ_VORBIS']:
23 external_dirs += ['media/libvorbis']
25 if CONFIG['MOZ_TREMOR']:
26 external_dirs += ['media/libtremor']
28 if CONFIG['MOZ_WEBM']:
29 external_dirs += ['media/libnestegg']
31 if CONFIG['MOZ_WEBM_ENCODER']:
32 external_dirs += ['media/libmkv']
34 if CONFIG['MOZ_VPX'] and not CONFIG['MOZ_NATIVE_LIBVPX']:
35 external_dirs += ['media/libvpx']
37 if not CONFIG['MOZ_NATIVE_PNG']:
38 external_dirs += ['media/libpng']
46 'media/libspeex_resampler',
47 'media/libstagefright',
48 'media/libsoundtouch',
51 DIRS += ['../../' + i for i in external_dirs]