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