2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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/.
|
|
|
|
|
2015-01-17 02:34:47 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIHangReport.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'nsICachedFileDescriptorListener.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.ipc += [
|
2014-09-26 23:21:57 +00:00
|
|
|
'BlobChild.h',
|
|
|
|
'BlobParent.h',
|
2014-10-24 00:28:00 +00:00
|
|
|
'IdType.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsIRemoteBlob.h',
|
2015-09-10 20:50:58 +00:00
|
|
|
'StructuredCloneData.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
2014-06-11 05:44:13 +00:00
|
|
|
'ContentBridgeChild.h',
|
|
|
|
'ContentBridgeParent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'ContentChild.h',
|
|
|
|
'ContentParent.h',
|
|
|
|
'ContentProcess.h',
|
2014-10-29 18:11:00 +00:00
|
|
|
'ContentProcessManager.h',
|
2014-10-06 22:45:42 +00:00
|
|
|
'CPOWManagerGetter.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'CrashReporterChild.h',
|
|
|
|
'CrashReporterParent.h',
|
2014-02-18 00:30:06 +00:00
|
|
|
'FilePickerParent.h',
|
2014-06-11 05:44:06 +00:00
|
|
|
'nsIContentChild.h',
|
2014-06-11 05:44:03 +00:00
|
|
|
'nsIContentParent.h',
|
2015-07-31 07:25:27 +00:00
|
|
|
'NuwaChild.h',
|
|
|
|
'NuwaParent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'PermissionMessageUtils.h',
|
|
|
|
'TabChild.h',
|
|
|
|
'TabContext.h',
|
|
|
|
'TabMessageUtils.h',
|
|
|
|
'TabParent.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'AppProcessChecker.h',
|
2013-04-26 00:53:26 +00:00
|
|
|
'PreallocatedProcessManager.h',
|
2015-01-17 02:34:47 +00:00
|
|
|
'ProcessHangMonitor.h',
|
|
|
|
'ProcessHangMonitorIPC.h',
|
2013-04-26 00:53:26 +00:00
|
|
|
'ProcessPriorityManager.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-26 16:39:19 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'AppProcessChecker.cpp',
|
2014-02-23 20:19:43 +00:00
|
|
|
'ColorPickerParent.cpp',
|
2014-06-11 05:44:13 +00:00
|
|
|
'ContentBridgeChild.cpp',
|
|
|
|
'ContentBridgeParent.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'ContentParent.cpp',
|
|
|
|
'ContentProcess.cpp',
|
2014-10-29 18:11:00 +00:00
|
|
|
'ContentProcessManager.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'CrashReporterParent.cpp',
|
2014-02-18 00:30:06 +00:00
|
|
|
'FilePickerParent.cpp',
|
2014-06-11 05:44:06 +00:00
|
|
|
'nsIContentChild.cpp',
|
2014-06-11 05:44:03 +00:00
|
|
|
'nsIContentParent.cpp',
|
2015-07-31 07:25:27 +00:00
|
|
|
'NuwaChild.cpp',
|
|
|
|
'NuwaParent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'PermissionMessageUtils.cpp',
|
|
|
|
'PreallocatedProcessManager.cpp',
|
|
|
|
'ProcessPriorityManager.cpp',
|
2014-07-14 17:22:26 +00:00
|
|
|
'ScreenManagerParent.cpp',
|
2015-09-10 20:50:58 +00:00
|
|
|
'StructuredCloneData.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'TabChild.cpp',
|
|
|
|
'TabContext.cpp',
|
|
|
|
'TabMessageUtils.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'TabParent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-11-26 16:39:19 +00:00
|
|
|
# Blob.cpp cannot be compiled in unified mode because it triggers a fatal gcc warning.
|
|
|
|
# CrashReporterChild.cpp cannot be compiled in unified mode because of name clashes
|
|
|
|
# in OS X headers.
|
2014-10-08 20:19:14 +00:00
|
|
|
# ContentChild.cpp cannot be compiled in unified mode on linux due to Time conflict
|
2013-11-26 16:39:19 +00:00
|
|
|
SOURCES += [
|
|
|
|
'Blob.cpp',
|
2014-03-11 22:41:48 +00:00
|
|
|
'ContentChild.cpp',
|
2013-11-26 16:39:19 +00:00
|
|
|
'CrashReporterChild.cpp',
|
2015-01-17 02:34:47 +00:00
|
|
|
'ProcessHangMonitor.cpp',
|
2013-11-26 16:39:19 +00:00
|
|
|
]
|
|
|
|
|
2013-07-01 13:56:28 +00:00
|
|
|
IPDL_SOURCES += [
|
2015-04-23 23:41:00 +00:00
|
|
|
'BrowserConfiguration.ipdlh',
|
2013-07-01 13:56:28 +00:00
|
|
|
'DOMTypes.ipdlh',
|
|
|
|
'PBlob.ipdl',
|
|
|
|
'PBlobStream.ipdl',
|
|
|
|
'PBrowser.ipdl',
|
2014-10-29 18:11:00 +00:00
|
|
|
'PBrowserOrId.ipdlh',
|
2014-02-23 20:19:43 +00:00
|
|
|
'PColorPicker.ipdl',
|
2013-07-01 13:56:28 +00:00
|
|
|
'PContent.ipdl',
|
2014-06-11 05:44:13 +00:00
|
|
|
'PContentBridge.ipdl',
|
2014-02-09 20:34:40 +00:00
|
|
|
'PContentPermission.ipdlh',
|
2013-07-01 13:56:28 +00:00
|
|
|
'PContentPermissionRequest.ipdl',
|
|
|
|
'PCrashReporter.ipdl',
|
2014-05-13 17:13:00 +00:00
|
|
|
'PCycleCollectWithLogs.ipdl',
|
2013-07-01 13:56:28 +00:00
|
|
|
'PDocumentRenderer.ipdl',
|
2014-02-18 00:30:06 +00:00
|
|
|
'PFilePicker.ipdl',
|
2013-07-01 13:56:28 +00:00
|
|
|
'PMemoryReportRequest.ipdl',
|
2015-07-31 07:25:27 +00:00
|
|
|
'PNuwa.ipdl',
|
2014-11-12 20:59:18 +00:00
|
|
|
'PPluginWidget.ipdl',
|
2015-01-17 02:34:47 +00:00
|
|
|
'PProcessHangMonitor.ipdl',
|
2014-07-14 17:22:26 +00:00
|
|
|
'PScreenManager.ipdl',
|
2013-07-10 17:07:50 +00:00
|
|
|
'PTabContext.ipdlh',
|
2013-07-01 13:56:28 +00:00
|
|
|
]
|
2013-08-22 06:55:59 +00:00
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2015-04-03 16:51:41 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_TARGET'] == 'Darwin':
|
|
|
|
USE_LIBS += [
|
|
|
|
'mozsandbox',
|
|
|
|
]
|
|
|
|
|
2013-11-11 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
2015-02-11 11:53:00 +00:00
|
|
|
'/caps',
|
2014-07-19 19:43:38 +00:00
|
|
|
'/chrome',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/docshell/base',
|
|
|
|
'/dom/base',
|
2015-08-21 07:19:12 +00:00
|
|
|
'/dom/bluetooth/common',
|
2015-08-25 09:57:09 +00:00
|
|
|
'/dom/bluetooth/ipc',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/dom/devicestorage',
|
2015-09-18 12:19:13 +00:00
|
|
|
'/dom/events',
|
2014-03-05 03:25:40 +00:00
|
|
|
'/dom/filesystem',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/dom/fmradio/ipc',
|
2014-08-31 04:43:45 +00:00
|
|
|
'/dom/geolocation',
|
2014-10-25 17:24:36 +00:00
|
|
|
'/dom/media/webspeech/synth/ipc',
|
2014-08-27 17:13:36 +00:00
|
|
|
'/dom/mobilemessage/ipc',
|
2015-09-09 19:14:27 +00:00
|
|
|
'/dom/security',
|
2014-08-31 04:43:46 +00:00
|
|
|
'/dom/storage',
|
2014-12-17 06:26:15 +00:00
|
|
|
'/dom/workers',
|
2014-10-03 14:52:37 +00:00
|
|
|
'/editor/libeditor',
|
2014-10-28 15:59:08 +00:00
|
|
|
'/embedding/components/printingui/ipc',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/extensions/cookie',
|
2014-10-03 14:52:37 +00:00
|
|
|
'/extensions/spellcheck/src',
|
2015-04-08 18:48:11 +00:00
|
|
|
'/gfx/2d',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/hal/sandbox',
|
|
|
|
'/layout/base',
|
2015-05-06 16:29:33 +00:00
|
|
|
'/media/webrtc',
|
2015-01-20 08:58:00 +00:00
|
|
|
'/netwerk/base',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/toolkit/xre',
|
|
|
|
'/uriloader/exthandler',
|
2014-10-23 17:16:45 +00:00
|
|
|
'/widget',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/xpcom/base',
|
2014-01-31 23:02:30 +00:00
|
|
|
'/xpcom/threads',
|
2013-11-11 08:04:11 +00:00
|
|
|
]
|
|
|
|
|
2015-04-01 08:40:35 +00:00
|
|
|
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/security/sandbox/chromium',
|
|
|
|
'/security/sandbox/chromium-shim',
|
|
|
|
]
|
|
|
|
|
2015-08-17 02:25:59 +00:00
|
|
|
if CONFIG['OS_ARCH'] != 'WINNT':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/modules/libjar',
|
|
|
|
]
|
|
|
|
|
2013-11-27 13:55:07 +00:00
|
|
|
DEFINES['BIN_SUFFIX'] = '"%s"' % CONFIG['BIN_SUFFIX']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gtk2', 'gonk', 'qt'):
|
|
|
|
DEFINES['MOZ_ENABLE_FREETYPE'] = True
|
|
|
|
|
2014-09-11 13:50:55 +00:00
|
|
|
if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
|
|
|
DEFINES['MOZ_TOOLKIT_SEARCH'] = True
|
|
|
|
|
2014-01-10 03:03:25 +00:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2013-11-27 07:59:41 +00:00
|
|
|
|
2015-03-24 14:29:16 +00:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
|
2014-07-26 06:17:24 +00:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
2014-07-24 15:55:33 +00:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|