Bug 1913515 - Add a helper to return the inner frame of nsTableCellFrame. r=layout...
[gecko.git] / xpcom / threads / moz.build
blob09d7649c6f30409c045bfe4e452e243b54494cc7
1 # -*- Mode: python; 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/.
7 XPIDL_SOURCES += [
8     "nsIDirectTaskDispatcher.idl",
9     "nsIEnvironment.idl",
10     "nsIEventTarget.idl",
11     "nsIIdlePeriod.idl",
12     "nsINamed.idl",
13     "nsIProcess.idl",
14     "nsIRunnable.idl",
15     "nsISerialEventTarget.idl",
16     "nsISupportsPriority.idl",
17     "nsIThread.idl",
18     "nsIThreadInternal.idl",
19     "nsIThreadManager.idl",
20     "nsIThreadPool.idl",
21     "nsIThreadShutdown.idl",
22     "nsITimer.idl",
25 XPIDL_MODULE = "xpcom_threads"
27 XPCOM_MANIFESTS += [
28     "components.conf",
31 EXPORTS += [
32     "MainThreadUtils.h",
33     "nsICancelableRunnable.h",
34     "nsIDiscardableRunnable.h",
35     "nsIIdleRunnable.h",
36     "nsITargetShutdownTask.h",
37     "nsMemoryPressure.h",
38     "nsProcess.h",
39     "nsProxyRelease.h",
40     "nsThread.h",
41     "nsThreadManager.h",
42     "nsThreadPool.h",
43     "nsThreadUtils.h",
46 EXPORTS.mozilla += [
47     "AbstractThread.h",
48     "BlockingResourceBase.h",
49     "CondVar.h",
50     "CPUUsageWatcher.h",
51     "DataMutex.h",
52     "DeadlockDetector.h",
53     "DelayedRunnable.h",
54     "EventQueue.h",
55     "EventTargetCapability.h",
56     "IdlePeriodState.h",
57     "IdleTaskRunner.h",
58     "InputTaskManager.h",
59     "LazyIdleThread.h",
60     "MainThreadIdlePeriod.h",
61     "Monitor.h",
62     "MozPromise.h",
63     "Mutex.h",
64     "Queue.h",
65     "RecursiveMutex.h",
66     "ReentrantMonitor.h",
67     "RWLock.h",
68     "SchedulerGroup.h",
69     "SharedThreadPool.h",
70     "SpinEventLoopUntil.h",
71     "StateMirroring.h",
72     "StateWatching.h",
73     "StaticString.h",
74     "SynchronizedEventQueue.h",
75     "SyncRunnable.h",
76     "TaskController.h",
77     "TaskDispatcher.h",
78     "TaskQueue.h",
79     "ThreadBound.h",
80     "ThreadEventQueue.h",
81     "ThrottledEventQueue.h",
82     "VsyncTaskManager.h",
85 SOURCES += [
86     "IdlePeriodState.cpp",
87     "IdleTaskRunner.cpp",
88     "ThreadDelay.cpp",
91 UNIFIED_SOURCES += [
92     "AbstractThread.cpp",
93     "BlockingResourceBase.cpp",
94     "CPUUsageWatcher.cpp",
95     "DelayedRunnable.cpp",
96     "EventQueue.cpp",
97     "InputTaskManager.cpp",
98     "LazyIdleThread.cpp",
99     "MainThreadIdlePeriod.cpp",
100     "nsEnvironment.cpp",
101     "nsMemoryPressure.cpp",
102     "nsProcessCommon.cpp",
103     "nsProxyRelease.cpp",
104     "nsThread.cpp",
105     "nsThreadManager.cpp",
106     "nsThreadPool.cpp",
107     "nsThreadUtils.cpp",
108     "nsTimerImpl.cpp",
109     "RecursiveMutex.cpp",
110     "RWLock.cpp",
111     "SchedulerGroup.cpp",
112     "SharedThreadPool.cpp",
113     "SynchronizedEventQueue.cpp",
114     "TaskController.cpp",
115     "TaskQueue.cpp",
116     "ThreadEventQueue.cpp",
117     "ThreadEventTarget.cpp",
118     "ThreadLocalVariables.cpp",
119     "ThrottledEventQueue.cpp",
120     "TimerThread.cpp",
121     "VsyncTaskManager.cpp",
124 if CONFIG["OS_ARCH"] == "WINNT":
125     EXPORTS.mozilla += ["WinHandleWatcher.h"]
126     UNIFIED_SOURCES += ["WinHandleWatcher.cpp"]
128 # Should match the conditions in toolkit/components/backgroundhangmonitor/moz.build
129 if (
130     CONFIG["NIGHTLY_BUILD"]
131     and not CONFIG["MOZ_DEBUG"]
132     and not CONFIG["MOZ_TSAN"]
133     and not CONFIG["MOZ_ASAN"]
135     DEFINES["MOZ_ENABLE_BACKGROUND_HANG_MONITOR"] = 1
137 LOCAL_INCLUDES += [
138     "../build",
139     "/caps",
140     "/tools/profiler",
143 FINAL_LIBRARY = "xul"
145 include("/ipc/chromium/chromium-config.mozbuild")