2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-10-02 13:51:15 -07:00
|
|
|
NO_DIST_INSTALL = True
|
2013-10-24 12:06:19 -07:00
|
|
|
# For sanity's sake, we compile nsinstall without the wrapped system
|
|
|
|
# headers, so that we can use it to set up the wrapped system headers.
|
|
|
|
NO_VISIBILITY_FLAGS = True
|
2013-10-02 13:51:15 -07:00
|
|
|
|
2013-02-25 12:47:18 -08:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'doxygen.cfg',
|
|
|
|
'makefiles/test/Makefile',
|
|
|
|
'tests/makefiles/autodeps/Makefile',
|
|
|
|
'tests/src-simple/Makefile',
|
|
|
|
]
|
|
|
|
|
2013-06-11 08:31:11 -07:00
|
|
|
if CONFIG['HOST_OS_ARCH'] != 'WINNT':
|
2013-10-24 16:23:05 -07:00
|
|
|
HOST_SOURCES += [
|
2013-06-11 08:31:11 -07:00
|
|
|
'nsinstall.c',
|
|
|
|
'pathsub.c',
|
|
|
|
]
|
2014-09-02 22:10:54 -07:00
|
|
|
HostProgram('nsinstall_real')
|
2013-11-22 06:03:21 -08:00
|
|
|
|
|
|
|
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
|
|
|
DEFINES['GKMEDIAS_SHARED_LIBRARY'] = True
|
2013-12-06 05:08:52 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_SHARED_ICU']:
|
|
|
|
DEFINES['MOZ_SHARED_ICU'] = True
|
2014-07-28 08:51:12 -07:00
|
|
|
|
|
|
|
PYTHON_UNIT_TESTS += [
|
2015-03-02 09:43:11 -08:00
|
|
|
'tests/test_mozbuild_reading.py',
|
2014-07-28 08:51:12 -07:00
|
|
|
'tests/unit-expandlibs.py',
|
|
|
|
'tests/unit-mozunit.py',
|
|
|
|
'tests/unit-nsinstall.py',
|
|
|
|
'tests/unit-printprereleasesuffix.py',
|
|
|
|
]
|