2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04: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 21:17:46 +04: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-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'xpcom_threads'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsEventQueue.h',
|
2013-07-09 06:15:34 +04:00
|
|
|
'nsMemoryPressure.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsProcess.h',
|
|
|
|
'nsThread.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2013-11-22 23:17:29 +04:00
|
|
|
'BackgroundHangMonitor.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'HangMonitor.h',
|
|
|
|
'LazyIdleThread.h',
|
|
|
|
'SyncRunnable.h',
|
|
|
|
]
|
|
|
|
|
2013-11-19 06:34:00 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-11-22 23:17:29 +04:00
|
|
|
'BackgroundHangMonitor.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'HangMonitor.cpp',
|
|
|
|
'LazyIdleThread.cpp',
|
|
|
|
'nsEnvironment.cpp',
|
|
|
|
'nsEventQueue.cpp',
|
2013-07-09 06:15:34 +04:00
|
|
|
'nsMemoryPressure.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsProcessCommon.cpp',
|
|
|
|
'nsThread.cpp',
|
|
|
|
'nsThreadManager.cpp',
|
|
|
|
'nsThreadPool.cpp',
|
|
|
|
'nsTimerImpl.cpp',
|
2013-11-22 23:17:30 +04:00
|
|
|
'ThreadStackHelper.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'TimerThread.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-09-12 16:15:51 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../build',
|
2014-07-15 22:12:59 +04:00
|
|
|
'/caps',
|
2014-07-28 21:30:21 +04:00
|
|
|
'/toolkit/crashreporter/google-breakpad/src',
|
|
|
|
'/tools/profiler',
|
2013-09-12 16:15:51 +04:00
|
|
|
]
|
2013-11-19 06:47:14 +04:00
|
|
|
|
2014-02-19 20:36:37 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-10-23 16:01:24 +04:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|