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/.
8 BUG_COMPONENT = ("Core", "DOM: Content Processes")
13 'nsIDOMProcessChild.idl',
14 'nsIDOMProcessParent.idl',
21 'ManifestMessagesChild.jsm',
24 EXPORTS.mozilla.dom.ipc += [
28 'SharedMapChangeEvent.h',
31 'StructuredCloneData.h',
34 EXPORTS.mozilla.dom += [
35 'BrowserBridgeChild.h',
36 'BrowserBridgeHost.h',
37 'BrowserBridgeParent.h',
41 'ClonedErrorHolder.h',
42 'CoalescedInputData.h',
43 'CoalescedMouseData.h',
44 'CoalescedWheelData.h',
48 'ContentProcessManager.h',
50 'DocShellMessageUtils.h',
56 'MemoryReportRequest.h',
58 'PermissionMessageUtils.h',
61 'ReferrerInfoUtils.h',
62 'RefMessageBodyService.h',
65 'RemoteWebProgress.h',
66 'RemoteWebProgressRequest.h',
67 'SharedMessageBody.h',
71 'URLClassifierChild.h',
72 'URLClassifierParent.h',
73 'UserActivationIPCUtils.h',
74 'WindowGlobalActor.h',
75 'WindowGlobalChild.h',
76 'WindowGlobalParent.h',
80 'PreallocatedProcessManager.h',
81 'ProcessHangMonitor.h',
82 'ProcessHangMonitorIPC.h',
83 'ProcessPriorityManager.h',
87 'BrowserBridgeChild.cpp',
88 'BrowserBridgeHost.cpp',
89 'BrowserBridgeParent.cpp',
93 'ClonedErrorHolder.cpp',
94 'CoalescedMouseData.cpp',
95 'CoalescedWheelData.cpp',
96 'ColorPickerParent.cpp',
99 'ContentProcessManager.cpp',
100 'CSPMessageUtils.cpp',
101 'DocShellMessageUtils.cpp',
102 'FilePickerParent.cpp',
104 'MemMapSnapshot.cpp',
105 'MemoryReportRequest.cpp',
107 'PermissionMessageUtils.cpp',
108 'PreallocatedProcessManager.cpp',
110 'ProcessPriorityManager.cpp',
111 'PropertyBagUtils.cpp',
112 'ReferrerInfoUtils.cpp',
113 'RefMessageBodyService.cpp',
115 'RemoteWebProgress.cpp',
116 'RemoteWebProgressRequest.cpp',
118 'SharedMessageBody.cpp',
119 'SharedStringMap.cpp',
120 'StructuredCloneData.cpp',
122 'TabMessageUtils.cpp',
123 'URLClassifierParent.cpp',
124 'WindowGlobalActor.cpp',
125 'WindowGlobalChild.cpp',
126 'WindowGlobalParent.cpp',
129 # ContentChild.cpp cannot be compiled in unified mode on linux due to Time conflict
132 'ProcessHangMonitor.cpp',
135 PREPROCESSED_IPDL_SOURCES += [
137 'PBrowserBridge.ipdl',
143 'MemoryReportTypes.ipdlh',
145 'PContentPermission.ipdlh',
146 'PContentPermissionRequest.ipdl',
147 'PCycleCollectWithLogs.ipdl',
150 'PLoginReputation.ipdl',
151 'PPluginWidget.ipdl',
152 'PProcessHangMonitor.ipdl',
155 'PURLClassifier.ipdl',
156 'PURLClassifierInfo.ipdlh',
157 'PURLClassifierLocal.ipdl',
158 'PWindowGlobal.ipdl',
159 'ServiceWorkerConfiguration.ipdlh',
160 'WindowGlobalTypes.ipdlh',
163 include('/ipc/chromium/chromium-config.mozbuild')
165 FINAL_LIBRARY = 'xul'
167 if CONFIG['MOZ_SANDBOX'] and (CONFIG['OS_TARGET'] in ['Darwin', 'Linux']):
181 '/dom/media/webspeech/synth/ipc',
184 '/extensions/spellcheck/src',
187 '/js/xpconnect/loader',
192 '/netwerk/protocol/http',
193 '/toolkit/components/printingui/ipc',
194 '/toolkit/crashreporter',
196 '/uriloader/exthandler',
202 if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
204 '/security/sandbox/chromium',
205 '/security/sandbox/chromium-shim',
208 if CONFIG['OS_ARCH'] != 'WINNT':
213 DEFINES['BIN_SUFFIX'] = '"%s"' % CONFIG['BIN_SUFFIX']
215 DEFINES['MOZ_APP_NAME'] = '"%s"' % CONFIG['MOZ_APP_NAME']
217 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
218 DEFINES['MOZ_ENABLE_FREETYPE'] = True
220 JAR_MANIFESTS += ['jar.mn']
222 BROWSER_CHROME_MANIFESTS += [
224 'tests/JSProcessActor/browser.ini',
225 'tests/JSWindowActor/browser.ini',
228 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
229 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
230 XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
232 CXXFLAGS += CONFIG['TK_CFLAGS']
234 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
235 CXXFLAGS += ['-Wno-error=shadow']
237 if CONFIG['FUZZING'] and CONFIG['FUZZING_INTERFACES']:
242 # Add libFuzzer configuration directives
243 include('/tools/fuzzing/libfuzzer-config.mozbuild')