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 with Files('**/Makefile.in'):
8 BUG_COMPONENT = ('Core', 'Build Config')
11 FILES_PER_UNIFIED_FILE = 1
13 CONFIGURE_SUBST_FILES += [
15 'config/emptyvars.mk',
18 if CONFIG['ENABLE_CLANG_PLUGIN']:
19 DIRS += ['build/clang-plugin']
27 if not CONFIG['JS_STANDALONE']:
28 CONFIGURE_SUBST_FILES += [
29 'tools/update-packaging/Makefile',
31 CONFIGURE_DEFINE_FILES += [
45 GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
46 GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
54 'config/external/fdlibm',
55 'config/external/nspr',
56 'config/external/zlib',
62 if not CONFIG['JS_STANDALONE']:
63 DIRS += ['xpcom/xpidl']
66 DIRS += ['config/external/icu']
68 if CONFIG['COMPILE_ENVIRONMENT']:
70 if not CONFIG['JS_STANDALONE']:
73 'config/external/nss',
76 if CONFIG['BUILD_CTYPES']:
77 DIRS += ['config/external/ffi']
81 TEST_DIRS += ['js/src/tests']
83 if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
84 # Bring in the configuration for the configured application.
85 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
87 include('build/templates.mozbuild')