Bug 1188336 - Enable Mulet TaskCluster Gbu. r=garndt
[gecko.git] / moz.build
blob983d3afa536981caa7974a6d7dea93728968b2b7
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/.
7 with Files('**/Makefile.in'):
8     BUG_COMPONENT = ('Core', 'Build Config')
9     FINAL = True
11 CONFIGURE_SUBST_FILES += [
12     'config/autoconf.mk',
13     'config/emptyvars.mk',
16 if CONFIG['ENABLE_CLANG_PLUGIN']:
17     DIRS += ['build/clang-plugin']
19 DIRS += [
20     'config',
21     'python',
24 if not CONFIG['JS_STANDALONE']:
25     CONFIGURE_SUBST_FILES += [
26         'mozilla-config.h',
27         'tools/update-packaging/Makefile',
28     ]
30     DIRS += [
31         'build',
32         'probes',
33     ]
35 if not CONFIG['LIBXUL_SDK']:
36     DIRS += [
37         'config/external/zlib',
38         'memory',
39         'mfbt',
40         'mozglue',
41     ]
43     if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android' and int(CONFIG['MOZ_ANDROID_MIN_SDK_VERSION']) < 11:
44         DIRS += ['other-licenses/android']
46 if not CONFIG['JS_STANDALONE']:
47     DIRS += ['xpcom/xpidl']
49 if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']:
50     DIRS += ['config/external/nspr']
52     if not CONFIG['JS_STANDALONE']:
53         DIRS += [
54             'config/external',
55             'config/external/nss',
56         ]
58     if CONFIG['BUILD_CTYPES']:
59         DIRS += ['config/external/ffi']
60     if CONFIG['USE_ICU']:
61         DIRS += ['config/external/icu']
62     DIRS += ['js/src']
64 if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
65     # Bring in the configuration for the configured application.
66     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
68 include('build/templates.mozbuild')