gecko-dev/tools/trace-malloc/lib/moz.build
2014-03-04 19:39:06 -05:00

35 lines
747 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 += [
'nsTraceMalloc.h',
]
SOURCES += [
'nsTraceMalloc.c',
]
SOURCES += [
'nsTypeInfo.cpp',
]
if CONFIG['OS_ARCH'] == 'WINNT':
SOURCES += [
'nsDebugHelpWin32.cpp',
'nsWinTraceMalloc.cpp',
]
FINAL_LIBRARY = 'xpcom_core'
if CONFIG['WRAP_SYSTEM_INCLUDES']:
DEFINES['WRAP_SYSTEM_INCLUDES'] = True
DEFINES['MOZ_NO_MOZALLOC'] = True
DEFFILE = SRCDIR + '/tm.def'
DISABLE_STL_WRAPPING = True