2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04: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-03 00:51:15 +04:00
|
|
|
NO_DIST_INSTALL = True
|
2013-10-24 23:06:19 +04: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-03 00:51:15 +04:00
|
|
|
|
2013-02-26 00:47:18 +04:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'doxygen.cfg',
|
|
|
|
'makefiles/test/Makefile',
|
|
|
|
'tests/makefiles/autodeps/Makefile',
|
|
|
|
'tests/src-simple/Makefile',
|
|
|
|
]
|
|
|
|
|
2013-06-11 19:31:11 +04:00
|
|
|
if CONFIG['HOST_OS_ARCH'] != 'WINNT':
|
2013-10-25 03:23:05 +04:00
|
|
|
HOST_SOURCES += [
|
2013-06-11 19:31:11 +04:00
|
|
|
'nsinstall.c',
|
|
|
|
'pathsub.c',
|
|
|
|
]
|
2014-09-03 09:10:54 +04:00
|
|
|
HostProgram('nsinstall_real')
|
2013-11-22 18:03:21 +04:00
|
|
|
|
|
|
|
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
|
|
|
DEFINES['GKMEDIAS_SHARED_LIBRARY'] = True
|
2013-12-06 17:08:52 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_SHARED_ICU']:
|
|
|
|
DEFINES['MOZ_SHARED_ICU'] = True
|
2014-07-28 19:51:12 +04:00
|
|
|
|
|
|
|
PYTHON_UNIT_TESTS += [
|
|
|
|
'tests/unit-expandlibs.py',
|
|
|
|
'tests/unit-mozunit.py',
|
|
|
|
'tests/unit-nsinstall.py',
|
|
|
|
'tests/unit-printprereleasesuffix.py',
|
|
|
|
]
|