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/.
8 # For sanity's sake, we compile nsinstall without the wrapped system
9 # headers, so that we can use it to set up the wrapped system headers.
10 NO_VISIBILITY_FLAGS = True
12 CONFIGURE_SUBST_FILES += [
14 'makefiles/test/Makefile',
15 'tests/makefiles/autodeps/Makefile',
16 'tests/src-simple/Makefile',
19 if CONFIG['HOST_OS_ARCH'] != 'WINNT':
24 HostProgram('nsinstall_real')
26 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
27 DEFINES['GKMEDIAS_SHARED_LIBRARY'] = True
29 if CONFIG['MOZ_SHARED_ICU']:
30 DEFINES['MOZ_SHARED_ICU'] = True
32 PYTHON_UNIT_TESTS += [
33 'tests/unit-expandlibs.py',
34 'tests/unit-mozunit.py',
35 'tests/unit-nsinstall.py',
36 'tests/unit-printprereleasesuffix.py',