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 += [
12 if CONFIG['ENABLE_CLANG_PLUGIN']:
13 DIRS += ['build/clang-plugin']
20 if not CONFIG['JS_STANDALONE']:
21 CONFIGURE_SUBST_FILES += [
23 'tools/update-packaging/Makefile',
31 if not CONFIG['LIBXUL_SDK']:
34 'config/external/zlib',
37 if not CONFIG['JS_STANDALONE']:
38 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
39 DIRS += ['other-licenses/android']
41 if CONFIG['MOZ_MEMORY']:
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']:
60 'config/external/nss',
63 if CONFIG['BUILD_CTYPES']:
64 DIRS += ['config/external/ffi']
66 DIRS += ['config/external/icu']
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')