mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
7def0f9cd3
This also effectively changes how DMD is enabled from requiring both replace-malloc initialization and the DMD environment variable to requiring only the former. The DMD environment variable can still be used to specify options, but not to disable entirely. This however doesn't touch all the parts that do enable DMD by setting the DMD environment variable to 1, so the code to handle this value is kept.
25 lines
627 B
Python
25 lines
627 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
GeckoSimplePrograms([
|
|
'SmokeDMD',
|
|
], linkage=None)
|
|
|
|
# See the comment at the top of SmokeDMD.cpp:RunTests().
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
CXXFLAGS += ['-Og-']
|
|
else:
|
|
CXXFLAGS += ['-O0']
|
|
|
|
DEFINES['MOZ_NO_MOZALLOC'] = True
|
|
|
|
DISABLE_STL_WRAPPING = True
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
'xpcshell.ini',
|
|
]
|
|
|