michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: PROGRAM = 'TestStreamConv' michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'Converters.cpp', michael@0: 'TestStreamConv.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: for var in ('MOZ_NO_DEBUG_RTL', 'NGPREFS'): michael@0: DEFINES[var] = True michael@0: if CONFIG['GNU_CXX']: michael@0: LDFLAGS += ['-mconsole'] michael@0: else: michael@0: LDFLAGS += ['-SUBSYSTEM:CONSOLE']