Fix typo in 9b54bd30006c008b4a951331b273613d5bac3abf
[pm.git] / moz.build
blobabd2f5ebf1f665fb3d2d2c491b1b1f2ca58e0ef0
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/fallible',
47             'memory/mozalloc',
48             'memory/volatile',
49         ]
51 if not CONFIG['JS_STANDALONE']:
52     DIRS += ['xpcom/xpidl']
54 if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']:
55     DIRS += ['config/external/nspr']
57     if not CONFIG['JS_STANDALONE']:
58         DIRS += [
59             'config/external',
60             'config/external/nss',
61         ]
63     if CONFIG['BUILD_CTYPES']:
64         DIRS += ['config/external/ffi']
65     if CONFIG['USE_ICU']:
66         DIRS += ['config/external/icu']
67     DIRS += ['js/src']
69 if not CONFIG['JS_STANDALONE']:
70     # Bring in the configuration for the configured application.
71     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
73 include('build/templates.mozbuild')