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']:
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']:
59 'config/external/nss',
62 if CONFIG['BUILD_CTYPES']:
63 DIRS += ['config/external/ffi']
65 DIRS += ['config/external/icu']
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')