зеркало из https://github.com/mozilla/gecko-dev.git
134 строки
3.0 KiB
Python
134 строки
3.0 KiB
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/.
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIConsoleListener.idl',
|
|
'nsIConsoleMessage.idl',
|
|
'nsIConsoleService.idl',
|
|
'nsICycleCollectorListener.idl',
|
|
'nsIDebug.idl',
|
|
'nsIDebug2.idl',
|
|
'nsIErrorService.idl',
|
|
'nsIException.idl',
|
|
'nsIGZFileWriter.idl',
|
|
'nsIInterfaceRequestor.idl',
|
|
'nsIMemory.idl',
|
|
'nsIMemoryInfoDumper.idl',
|
|
'nsIMemoryReporter.idl',
|
|
'nsIMessageLoop.idl',
|
|
'nsIMutable.idl',
|
|
'nsIProgrammingLanguage.idl',
|
|
'nsISecurityConsoleMessage.idl',
|
|
'nsISupports.idl',
|
|
'nsITraceRefcnt.idl',
|
|
'nsIUUIDGenerator.idl',
|
|
'nsIVersionComparator.idl',
|
|
'nsIVisualEventTracer.idl',
|
|
'nsIWeakReference.idl',
|
|
'nsrootidl.idl',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
XPIDL_SOURCES += [
|
|
'nsIMacUtils.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'xpcom_base'
|
|
|
|
EXPORTS += [
|
|
'ErrorList.h',
|
|
'nsAgg.h',
|
|
'nsAutoPtr.h',
|
|
'nsAutoRef.h',
|
|
'nsCom.h',
|
|
'nscore.h',
|
|
'nsCycleCollector.h',
|
|
'nsDebugImpl.h',
|
|
'nsError.h',
|
|
'nsGZFileWriter.h',
|
|
'nsIAllocator.h',
|
|
'nsIID.h',
|
|
'nsInterfaceRequestorAgg.h',
|
|
'nsISizeOf.h',
|
|
'nsISupportsBase.h',
|
|
'nsISupportsObsolete.h',
|
|
'nsObjCExceptions.h',
|
|
'nsStackWalk.h',
|
|
'nsTraceRefcntImpl.h',
|
|
'nsWeakPtr.h',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
EXPORTS += [
|
|
'nsWindowsHelpers.h',
|
|
]
|
|
if CONFIG['MOZ_DEBUG']:
|
|
EXPORTS += ['pure.h']
|
|
SOURCES += ['pure_api.c']
|
|
|
|
EXPORTS.mozilla += [
|
|
'AvailableMemoryTracker.h',
|
|
'ClearOnShutdown.h',
|
|
'CycleCollectedJSRuntime.h',
|
|
'Debug.h',
|
|
'nsMemoryInfoDumper.h',
|
|
'StackWalk.h',
|
|
'StaticMutex.h',
|
|
'StaticPtr.h',
|
|
'VisualEventTracer.h',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
EXPORTS.mozilla += [
|
|
'WindowsVersion.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AvailableMemoryTracker.cpp',
|
|
'ClearOnShutdown.cpp',
|
|
'CycleCollectedJSRuntime.cpp',
|
|
'Debug.cpp',
|
|
'nsConsoleMessage.cpp',
|
|
'nsConsoleService.cpp',
|
|
'nsCycleCollector.cpp',
|
|
'nsDebugImpl.cpp',
|
|
'nsErrorService.cpp',
|
|
'nsGZFileWriter.cpp',
|
|
'nsInterfaceRequestorAgg.cpp',
|
|
'nsMemoryImpl.cpp',
|
|
'nsMemoryInfoDumper.cpp',
|
|
'nsMemoryReporterManager.cpp',
|
|
'nsMessageLoop.cpp',
|
|
'nsSecurityConsoleMessage.cpp',
|
|
'nsStackWalk.cpp',
|
|
'nsSystemInfo.cpp',
|
|
'nsTraceRefcntImpl.cpp',
|
|
'nsUUIDGenerator.cpp',
|
|
'nsVersionComparatorImpl.cpp',
|
|
'VisualEventTracer.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
SOURCES += [
|
|
'nsMacUtilsImpl.cpp',
|
|
]
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
SOURCES += [
|
|
'nsCrashOnException.cpp',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'nsErrorAssertsC.c',
|
|
]
|
|
|
|
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xpcom_core'
|