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']:
49 if not CONFIG['JS_STANDALONE']:
50 DIRS += ['xpcom/xpidl']
52 if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']:
53 DIRS += ['config/external/nspr']
55 if not CONFIG['JS_STANDALONE']:
58 'config/external/nss',
61 if CONFIG['BUILD_CTYPES']:
62 DIRS += ['config/external/ffi']
64 DIRS += ['config/external/icu']
67 if not CONFIG['JS_STANDALONE']:
68 # Bring in the configuration for the configured application.
69 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
71 include('build/templates.mozbuild')