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: XPIDL_SOURCES += [ michael@0: 'nsICancelableRunnable.idl', michael@0: 'nsIEnvironment.idl', michael@0: 'nsIEventTarget.idl', michael@0: 'nsIProcess.idl', michael@0: 'nsIRunnable.idl', michael@0: 'nsISupportsPriority.idl', michael@0: 'nsIThread.idl', michael@0: 'nsIThreadInternal.idl', michael@0: 'nsIThreadManager.idl', michael@0: 'nsIThreadPool.idl', michael@0: 'nsITimer.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'xpcom_threads' michael@0: michael@0: EXPORTS += [ michael@0: 'nsEventQueue.h', michael@0: 'nsMemoryPressure.h', michael@0: 'nsProcess.h', michael@0: 'nsThread.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'BackgroundHangMonitor.h', michael@0: 'HangMonitor.h', michael@0: 'LazyIdleThread.h', michael@0: 'SyncRunnable.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'BackgroundHangMonitor.cpp', michael@0: 'HangMonitor.cpp', michael@0: 'LazyIdleThread.cpp', michael@0: 'nsEnvironment.cpp', michael@0: 'nsEventQueue.cpp', michael@0: 'nsMemoryPressure.cpp', michael@0: 'nsProcessCommon.cpp', michael@0: 'nsThread.cpp', michael@0: 'nsThreadManager.cpp', michael@0: 'nsThreadPool.cpp', michael@0: 'nsTimerImpl.cpp', michael@0: 'ThreadStackHelper.cpp', michael@0: 'TimerThread.cpp', michael@0: ] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../build', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: FINAL_LIBRARY = 'xpcom_core' michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild')