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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'cocoa':
|
|
|
|
TEST_DIRS += ['tests']
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsICachedFileDescriptorListener.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'PCOMContentPermissionRequestChild.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.ipc += [
|
|
|
|
'Blob.h',
|
|
|
|
'nsIRemoteBlob.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'ContentChild.h',
|
|
|
|
'ContentParent.h',
|
|
|
|
'ContentProcess.h',
|
|
|
|
'CrashReporterChild.h',
|
|
|
|
'CrashReporterParent.h',
|
2014-02-18 04:30:06 +04:00
|
|
|
'FilePickerParent.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',
|
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',
|
2013-10-24 03:00:23 +04:00
|
|
|
'ContentParent.cpp',
|
|
|
|
'ContentProcess.cpp',
|
|
|
|
'CrashReporterParent.cpp',
|
2014-02-18 04:30:06 +04:00
|
|
|
'FilePickerParent.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'PermissionMessageUtils.cpp',
|
|
|
|
'PreallocatedProcessManager.cpp',
|
|
|
|
'ProcessPriorityManager.cpp',
|
|
|
|
'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.
|
2014-03-12 02:41:48 +04:00
|
|
|
# ContentChild.cpp cannot be compiled in unified mode because it forces NSPR logging.
|
2013-11-26 20:39:19 +04:00
|
|
|
# CrashReporterChild.cpp cannot be compiled in unified mode because of name clashes
|
|
|
|
# in OS X headers.
|
|
|
|
SOURCES += [
|
|
|
|
'Blob.cpp',
|
2014-03-12 02:41:48 +04:00
|
|
|
'ContentChild.cpp',
|
2013-11-26 20:39:19 +04:00
|
|
|
'CrashReporterChild.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 17:56:28 +04:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'DOMTypes.ipdlh',
|
|
|
|
'PBlob.ipdl',
|
|
|
|
'PBlobStream.ipdl',
|
|
|
|
'PBrowser.ipdl',
|
2014-02-24 00:19:43 +04:00
|
|
|
'PColorPicker.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
'PContent.ipdl',
|
2014-02-10 00:34:40 +04:00
|
|
|
'PContentPermission.ipdlh',
|
2013-07-01 17:56:28 +04:00
|
|
|
'PContentPermissionRequest.ipdl',
|
|
|
|
'PCrashReporter.ipdl',
|
|
|
|
'PDocumentRenderer.ipdl',
|
2014-02-18 04:30:06 +04:00
|
|
|
'PFilePicker.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
'PMemoryReportRequest.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'
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../src/base',
|
|
|
|
'../src/geolocation',
|
|
|
|
'../src/storage',
|
|
|
|
'/chrome/src',
|
|
|
|
'/content/base/src',
|
|
|
|
'/content/media/webspeech/synth/ipc',
|
|
|
|
'/docshell/base',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/bluetooth',
|
|
|
|
'/dom/bluetooth/ipc',
|
|
|
|
'/dom/devicestorage',
|
2014-01-10 07:03:25 +04:00
|
|
|
'/dom/events',
|
2014-03-05 07:25:40 +04:00
|
|
|
'/dom/filesystem',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/dom/fmradio/ipc',
|
|
|
|
'/dom/indexedDB',
|
|
|
|
'/dom/indexedDB/ipc',
|
|
|
|
'/dom/mobilemessage/src/ipc',
|
|
|
|
'/extensions/cookie',
|
|
|
|
'/hal/sandbox',
|
|
|
|
'/js/ipc',
|
|
|
|
'/layout/base',
|
|
|
|
'/netwerk/base/src',
|
|
|
|
'/toolkit/xre',
|
|
|
|
'/uriloader/exthandler',
|
|
|
|
'/widget/xpwidgets',
|
|
|
|
'/xpcom/base',
|
2014-02-01 03:02:30 +04:00
|
|
|
'/xpcom/threads',
|
2013-11-11 12:04:11 +04:00
|
|
|
]
|
|
|
|
|
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
|
|
|
|
|
|
|
|
for var in ('MOZ_PERMISSIONS', 'MOZ_CHILD_PERMISSIONS'):
|
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2013-11-27 11:59:41 +04:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DEFINES['ENABLE_TESTS'] = 1
|
|
|
|
|
2014-01-10 07:03:25 +04:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2013-11-27 11:59:41 +04:00
|
|
|
|