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