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