2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:20:02 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIConsoleListener.idl',
|
|
|
|
'nsIConsoleMessage.idl',
|
|
|
|
'nsIConsoleService.idl',
|
|
|
|
'nsICycleCollectorListener.idl',
|
|
|
|
'nsIDebug.idl',
|
|
|
|
'nsIDebug2.idl',
|
|
|
|
'nsIErrorService.idl',
|
|
|
|
'nsIException.idl',
|
|
|
|
'nsIExceptionService.idl',
|
|
|
|
'nsIGZFileWriter.idl',
|
|
|
|
'nsIInterfaceRequestor.idl',
|
|
|
|
'nsIMemory.idl',
|
|
|
|
'nsIMemoryInfoDumper.idl',
|
|
|
|
'nsIMemoryReporter.idl',
|
|
|
|
'nsIMessageLoop.idl',
|
|
|
|
'nsIMutable.idl',
|
|
|
|
'nsIProgrammingLanguage.idl',
|
2013-07-26 08:37:02 -07:00
|
|
|
'nsISecurityConsoleMessage.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
'nsISupports.idl',
|
|
|
|
'nsITraceRefcnt.idl',
|
|
|
|
'nsIUUIDGenerator.idl',
|
|
|
|
'nsIVersionComparator.idl',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsIVisualEventTracer.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
'nsIWeakReference.idl',
|
|
|
|
'nsrootidl.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 10:20:41 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIMacUtils.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'xpcom_base'
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'xpcom'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
2013-07-01 14:24:53 -07:00
|
|
|
'ErrorList.h',
|
|
|
|
'ErrorListCDefines.h',
|
|
|
|
'ErrorListCxxDefines.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsAgg.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsAutoPtr.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsAutoRef.h',
|
|
|
|
'nsCom.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsCycleCollector.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsDebugImpl.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsError.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsGZFileWriter.h',
|
|
|
|
'nsIAllocator.h',
|
|
|
|
'nsIID.h',
|
|
|
|
'nsISizeOf.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsISupportsBase.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsISupportsObsolete.h',
|
|
|
|
'nsInterfaceRequestorAgg.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsObjCExceptions.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsStackWalk.h',
|
|
|
|
'nsTraceRefcntImpl.h',
|
|
|
|
'nsWeakPtr.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nscore.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_DEBUG']:
|
|
|
|
EXPORTS += ['pure.h']
|
|
|
|
|
2013-07-01 14:24:53 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
EXPORTS += [
|
|
|
|
'nsWindowsHelpers.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'AvailableMemoryTracker.h',
|
|
|
|
'ClearOnShutdown.h',
|
2013-06-18 12:02:07 -07:00
|
|
|
'CycleCollectedJSRuntime.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'MapsMemoryReporter.h',
|
|
|
|
'StackWalk.h',
|
2013-05-24 10:10:47 -07:00
|
|
|
'StaticMutex.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'StaticPtr.h',
|
|
|
|
'VisualEventTracer.h',
|
|
|
|
'nsMemoryInfoDumper.h',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'AvailableMemoryTracker.cpp',
|
|
|
|
'ClearOnShutdown.cpp',
|
2013-06-18 12:02:07 -07:00
|
|
|
'CycleCollectedJSRuntime.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'VisualEventTracer.cpp',
|
|
|
|
'nsConsoleMessage.cpp',
|
|
|
|
'nsConsoleService.cpp',
|
|
|
|
'nsCycleCollector.cpp',
|
|
|
|
'nsDebugImpl.cpp',
|
|
|
|
'nsErrorAsserts.cpp',
|
|
|
|
'nsErrorService.cpp',
|
|
|
|
'nsExceptionService.cpp',
|
|
|
|
'nsGZFileWriter.cpp',
|
|
|
|
'nsInterfaceRequestorAgg.cpp',
|
|
|
|
'nsMemoryImpl.cpp',
|
|
|
|
'nsMemoryInfoDumper.cpp',
|
|
|
|
'nsMemoryReporterManager.cpp',
|
|
|
|
'nsMessageLoop.cpp',
|
2013-07-26 08:37:02 -07:00
|
|
|
'nsSecurityConsoleMessage.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsStackWalk.cpp',
|
|
|
|
'nsSystemInfo.cpp',
|
|
|
|
'nsTraceRefcntImpl.cpp',
|
|
|
|
'nsUUIDGenerator.cpp',
|
|
|
|
'nsVersionComparatorImpl.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'MapsMemoryReporter.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsMacUtilsImpl.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsCrashOnException.cpp',
|
|
|
|
]
|
2013-08-21 23:56:01 -07:00
|
|
|
|
2013-08-21 23:56:02 -07:00
|
|
|
CSRCS += [
|
|
|
|
'nsErrorAssertsC.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|