1 # -*- Mode: python; 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/.
8 BUG_COMPONENT = ('mozilla.org', 'Licensing')
10 with Files('LICENSE'):
11 BUG_COMPONENT = ('mozilla.org', 'Licensing')
14 BUG_COMPONENT = ('mozilla.org', 'Licensing')
16 with Files('aclocal.m4'):
17 BUG_COMPONENT = ('Core', 'Build Config')
19 with Files('Android.mk'):
20 BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
22 with Files('client.*'):
23 BUG_COMPONENT = ('Core', 'Build Config')
25 with Files('CLOBBER'):
26 BUG_COMPONENT = ('Core', 'Build Config')
28 with Files('*configure*'):
29 BUG_COMPONENT = ('Core', 'Build Config')
32 BUG_COMPONENT = ('Core', 'mach')
35 BUG_COMPONENT = ('Core', 'Build Config')
37 with Files('GNUmakefile'):
38 BUG_COMPONENT = ('Core', 'Build Config')
40 with Files('*gradle*'):
41 BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
43 with Files('README.txt'):
44 BUG_COMPONENT = ('Core', 'General')
46 with Files('**/Makefile.in'):
47 BUG_COMPONENT = ('Core', 'Build Config')
50 FILES_PER_UNIFIED_FILE = 1
52 CONFIGURE_SUBST_FILES += [
54 'config/emptyvars.mk',
57 if CONFIG['ENABLE_CLANG_PLUGIN']:
58 DIRS += ['build/clang-plugin']
67 if not CONFIG['JS_STANDALONE']:
68 # These python manifests are included here so they get picked up without an objdir
69 PYTHON_UNITTEST_MANIFESTS += [
70 'testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
73 CONFIGURE_SUBST_FILES += [
74 'tools/update-packaging/Makefile',
76 CONFIGURE_DEFINE_FILES += [
90 GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
91 GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
98 if CONFIG['COMPILE_ENVIRONMENT']:
102 'config/external/fdlibm',
103 'config/external/nspr',
104 'config/external/zlib',
110 if not CONFIG['JS_STANDALONE']:
111 DIRS += ['xpcom/xpidl']
113 if CONFIG['USE_ICU']:
114 DIRS += ['config/external/icu']
116 if CONFIG['COMPILE_ENVIRONMENT']:
117 if not CONFIG['JS_STANDALONE']:
123 if CONFIG['BUILD_CTYPES']:
124 DIRS += ['config/external/ffi']
127 TEST_DIRS += ['js/src/tests']
129 if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
130 # Bring in the configuration for the configured application.
131 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
133 CONFIGURE_SUBST_FILES += ['.cargo/config']
135 include('build/templates.mozbuild')