michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: external_dirs = [] michael@0: if not CONFIG['MOZ_NATIVE_SQLITE']: michael@0: external_dirs += ['db/sqlite3/src'] michael@0: michael@0: if not CONFIG['MOZ_NATIVE_JPEG']: michael@0: external_dirs += ['media/libjpeg'] michael@0: michael@0: if CONFIG['MOZ_UPDATER']: michael@0: if not CONFIG['MOZ_NATIVE_BZ2']: michael@0: external_dirs += ['modules/libbz2'] michael@0: michael@0: if CONFIG['MOZ_VORBIS']: michael@0: external_dirs += ['media/libvorbis'] michael@0: michael@0: if CONFIG['MOZ_TREMOR']: michael@0: external_dirs += ['media/libtremor'] michael@0: michael@0: if CONFIG['MOZ_OPUS']: michael@0: external_dirs += ['media/libopus'] michael@0: michael@0: if CONFIG['MOZ_WEBM']: michael@0: external_dirs += ['media/libnestegg'] michael@0: michael@0: if CONFIG['MOZ_WEBM_ENCODER']: michael@0: external_dirs += ['media/libmkv'] michael@0: michael@0: if CONFIG['MOZ_VPX'] and not CONFIG['MOZ_NATIVE_LIBVPX']: michael@0: external_dirs += ['media/libvpx'] michael@0: michael@0: if not CONFIG['MOZ_NATIVE_PNG']: michael@0: external_dirs += ['media/libpng'] michael@0: michael@0: external_dirs += [ michael@0: 'media/kiss_fft', michael@0: 'media/libcubeb', michael@0: 'media/libogg', michael@0: 'media/libtheora', michael@0: 'media/libspeex_resampler', michael@0: 'media/libsoundtouch', michael@0: ] michael@0: michael@0: PARALLEL_DIRS += ['../../' + i for i in external_dirs]