Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | XPIDL_SOURCES += [ |
michael@0 | 8 | 'nsICancelableRunnable.idl', |
michael@0 | 9 | 'nsIEnvironment.idl', |
michael@0 | 10 | 'nsIEventTarget.idl', |
michael@0 | 11 | 'nsIProcess.idl', |
michael@0 | 12 | 'nsIRunnable.idl', |
michael@0 | 13 | 'nsISupportsPriority.idl', |
michael@0 | 14 | 'nsIThread.idl', |
michael@0 | 15 | 'nsIThreadInternal.idl', |
michael@0 | 16 | 'nsIThreadManager.idl', |
michael@0 | 17 | 'nsIThreadPool.idl', |
michael@0 | 18 | 'nsITimer.idl', |
michael@0 | 19 | ] |
michael@0 | 20 | |
michael@0 | 21 | XPIDL_MODULE = 'xpcom_threads' |
michael@0 | 22 | |
michael@0 | 23 | EXPORTS += [ |
michael@0 | 24 | 'nsEventQueue.h', |
michael@0 | 25 | 'nsMemoryPressure.h', |
michael@0 | 26 | 'nsProcess.h', |
michael@0 | 27 | 'nsThread.h', |
michael@0 | 28 | ] |
michael@0 | 29 | |
michael@0 | 30 | EXPORTS.mozilla += [ |
michael@0 | 31 | 'BackgroundHangMonitor.h', |
michael@0 | 32 | 'HangMonitor.h', |
michael@0 | 33 | 'LazyIdleThread.h', |
michael@0 | 34 | 'SyncRunnable.h', |
michael@0 | 35 | ] |
michael@0 | 36 | |
michael@0 | 37 | UNIFIED_SOURCES += [ |
michael@0 | 38 | 'BackgroundHangMonitor.cpp', |
michael@0 | 39 | 'HangMonitor.cpp', |
michael@0 | 40 | 'LazyIdleThread.cpp', |
michael@0 | 41 | 'nsEnvironment.cpp', |
michael@0 | 42 | 'nsEventQueue.cpp', |
michael@0 | 43 | 'nsMemoryPressure.cpp', |
michael@0 | 44 | 'nsProcessCommon.cpp', |
michael@0 | 45 | 'nsThread.cpp', |
michael@0 | 46 | 'nsThreadManager.cpp', |
michael@0 | 47 | 'nsThreadPool.cpp', |
michael@0 | 48 | 'nsTimerImpl.cpp', |
michael@0 | 49 | 'ThreadStackHelper.cpp', |
michael@0 | 50 | 'TimerThread.cpp', |
michael@0 | 51 | ] |
michael@0 | 52 | |
michael@0 | 53 | MSVC_ENABLE_PGO = True |
michael@0 | 54 | |
michael@0 | 55 | LOCAL_INCLUDES += [ |
michael@0 | 56 | '../build', |
michael@0 | 57 | ] |
michael@0 | 58 | |
michael@0 | 59 | FAIL_ON_WARNINGS = True |
michael@0 | 60 | |
michael@0 | 61 | FINAL_LIBRARY = 'xpcom_core' |
michael@0 | 62 | |
michael@0 | 63 | include('/ipc/chromium/chromium-config.mozbuild') |