gecko-dev/memory/replace/dmd/moz.build
Nicholas Nethercote 6b9163f560 Bug 948621 (part 2) - Abort DMD-enabled Windows builds unless --enable-profiling is specified. r=ehsan.
--HG--
extra : rebase_source : 7398d8d7f13792912f27948f9681ff608a0e90c6
2013-12-15 13:50:39 -08:00

29 lines
656 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/.
EXPORTS += [
'DMD.h',
]
SOURCES += [
'../../../mfbt/HashFunctions.cpp',
'../../../xpcom/base/nsStackWalk.cpp',
'DMD.cpp',
]
SOURCES += [
'../../../nsprpub/lib/libc/src/strcpy.c',
]
LIBRARY_NAME = 'dmd'
FORCE_SHARED_LIB = True
DEFINES['MOZ_NO_MOZALLOC'] = True
if CONFIG['MOZ_OPTIMIZE']:
DEFINES['MOZ_OPTIMIZE'] = True