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 = ('Core', 'Build Config')
11 # For sanity's sake, we compile nsinstall without the wrapped system
12 # headers, so that we can use it to set up the wrapped system headers.
13 NO_VISIBILITY_FLAGS = True
15 CONFIGURE_SUBST_FILES += [
17 'makefiles/test/Makefile',
18 'tests/src-simple/Makefile',
21 if CONFIG['HOST_OS_ARCH'] != 'WINNT':
26 # stdc++compat depends on config/export, so avoid a circular
27 # dependency added by HostProgram depending on stdc++compat,
28 # while the program here is in C.
29 HostProgram('nsinstall_real', c_only=True)
31 if CONFIG['MOZ_SYSTEM_ICU']:
32 DEFINES['MOZ_SYSTEM_ICU'] = True
34 PYTHON_UNITTEST_MANIFESTS += [
38 if CONFIG['GNU_CC'] and CONFIG['MOZ_OPTIMIZE']: