Bumping manifests a=b2g-bump
[gecko.git] / moz.build
blob1c97f6f9b5c06bc9334cb04eaf6cc9c0dd8ea217
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 CONFIGURE_SUBST_FILES += [
8     'config/autoconf.mk',
9     'config/emptyvars.mk',
12 if CONFIG['ENABLE_CLANG_PLUGIN']:
13     DIRS += ['build/clang-plugin']
15 DIRS += [
16     'config',
17     'python',
20 if not CONFIG['JS_STANDALONE']:
21     CONFIGURE_SUBST_FILES += [
22         'mozilla-config.h',
23         'tools/update-packaging/Makefile',
24     ]
26     DIRS += [
27         'build',
28         'probes',
29     ]
31 if not CONFIG['LIBXUL_SDK']:
32     DIRS += [
33         'mfbt',
34         'config/external/zlib',
35     ]
37     if not CONFIG['JS_STANDALONE']:
38         if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
39             DIRS += ['other-licenses/android']
41         if CONFIG['MOZ_MEMORY']:
42             DIRS += ['memory']
44         DIRS += [
45             'mozglue',
46             'memory/mozalloc',
47             'memory/volatile',
48         ]
50 if not CONFIG['JS_STANDALONE']:
51     DIRS += ['xpcom/xpidl']
53 if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']:
54     DIRS += ['config/external/nspr']
56     if not CONFIG['JS_STANDALONE']:
57         DIRS += [
58             'config/external',
59             'config/external/nss',
60         ]
62     if CONFIG['BUILD_CTYPES']:
63         DIRS += ['config/external/ffi']
64     if CONFIG['USE_ICU']:
65         DIRS += ['config/external/icu']
66     DIRS += ['js/src']
68 if not CONFIG['JS_STANDALONE']:
69     # Bring in the configuration for the configured application.
70     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
72 include('build/templates.mozbuild')