|
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/. |
|
6 |
|
7 external_dirs = [] |
|
8 if not CONFIG['MOZ_NATIVE_SQLITE']: |
|
9 external_dirs += ['db/sqlite3/src'] |
|
10 |
|
11 if not CONFIG['MOZ_NATIVE_JPEG']: |
|
12 external_dirs += ['media/libjpeg'] |
|
13 |
|
14 if CONFIG['MOZ_UPDATER']: |
|
15 if not CONFIG['MOZ_NATIVE_BZ2']: |
|
16 external_dirs += ['modules/libbz2'] |
|
17 |
|
18 if CONFIG['MOZ_VORBIS']: |
|
19 external_dirs += ['media/libvorbis'] |
|
20 |
|
21 if CONFIG['MOZ_TREMOR']: |
|
22 external_dirs += ['media/libtremor'] |
|
23 |
|
24 if CONFIG['MOZ_OPUS']: |
|
25 external_dirs += ['media/libopus'] |
|
26 |
|
27 if CONFIG['MOZ_WEBM']: |
|
28 external_dirs += ['media/libnestegg'] |
|
29 |
|
30 if CONFIG['MOZ_WEBM_ENCODER']: |
|
31 external_dirs += ['media/libmkv'] |
|
32 |
|
33 if CONFIG['MOZ_VPX'] and not CONFIG['MOZ_NATIVE_LIBVPX']: |
|
34 external_dirs += ['media/libvpx'] |
|
35 |
|
36 if not CONFIG['MOZ_NATIVE_PNG']: |
|
37 external_dirs += ['media/libpng'] |
|
38 |
|
39 external_dirs += [ |
|
40 'media/kiss_fft', |
|
41 'media/libcubeb', |
|
42 'media/libogg', |
|
43 'media/libtheora', |
|
44 'media/libspeex_resampler', |
|
45 'media/libsoundtouch', |
|
46 ] |
|
47 |
|
48 PARALLEL_DIRS += ['../../' + i for i in external_dirs] |