xpcom/threads/moz.build

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

mercurial