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 += [
|
|
|
|
'nsICancelableRunnable.idl',
|
|
|
|
'nsIEnvironment.idl',
|
|
|
|
'nsIEventTarget.idl',
|
|
|
|
'nsIProcess.idl',
|
|
|
|
'nsIRunnable.idl',
|
|
|
|
'nsISupportsPriority.idl',
|
|
|
|
'nsIThread.idl',
|
|
|
|
'nsIThreadInternal.idl',
|
|
|
|
'nsIThreadManager.idl',
|
|
|
|
'nsIThreadPool.idl',
|
|
|
|
'nsITimer.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'xpcom_threads'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsEventQueue.h',
|
2013-07-08 19:15:34 -07:00
|
|
|
'nsMemoryPressure.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsProcess.h',
|
|
|
|
'nsThread.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2013-11-22 11:17:29 -08:00
|
|
|
'BackgroundHangMonitor.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'HangMonitor.h',
|
|
|
|
'LazyIdleThread.h',
|
|
|
|
'SyncRunnable.h',
|
|
|
|
]
|
|
|
|
|
2013-11-18 18:34:00 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-11-22 11:17:29 -08:00
|
|
|
'BackgroundHangMonitor.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'HangMonitor.cpp',
|
|
|
|
'LazyIdleThread.cpp',
|
|
|
|
'nsEnvironment.cpp',
|
|
|
|
'nsEventQueue.cpp',
|
2013-07-08 19:15:34 -07:00
|
|
|
'nsMemoryPressure.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsProcessCommon.cpp',
|
|
|
|
'nsThread.cpp',
|
|
|
|
'nsThreadManager.cpp',
|
|
|
|
'nsThreadPool.cpp',
|
|
|
|
'nsTimerImpl.cpp',
|
2013-11-22 11:17:30 -08:00
|
|
|
'ThreadStackHelper.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TimerThread.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-09-12 05:15:51 -07:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../build',
|
2014-06-06 15:39:40 -07:00
|
|
|
'/caps/include',
|
2013-09-12 05:15:51 -07:00
|
|
|
]
|
2013-11-18 18:47:14 -08:00
|
|
|
|
2014-02-19 08:36:37 -08:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'xpcom_core'
|
2013-10-23 05:01:24 -07:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|