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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'cocoa':
|
|
|
|
TEST_DIRS += ['tests']
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsICachedFileDescriptorListener.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'PCOMContentPermissionRequestChild.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.ipc += [
|
|
|
|
'Blob.h',
|
|
|
|
'nsIRemoteBlob.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'ContentChild.h',
|
|
|
|
'ContentParent.h',
|
|
|
|
'ContentProcess.h',
|
|
|
|
'CrashReporterChild.h',
|
|
|
|
'CrashReporterParent.h',
|
|
|
|
'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',
|
|
|
|
'ContentChild.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'ContentParent.cpp',
|
|
|
|
'ContentProcess.cpp',
|
|
|
|
'CrashReporterParent.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'PermissionMessageUtils.cpp',
|
|
|
|
'PreallocatedProcessManager.cpp',
|
|
|
|
'ProcessPriorityManager.cpp',
|
|
|
|
'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.
|
|
|
|
SOURCES += [
|
|
|
|
'Blob.cpp',
|
|
|
|
'CrashReporterChild.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 06:56:28 -07:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'DOMTypes.ipdlh',
|
|
|
|
'PBlob.ipdl',
|
|
|
|
'PBlobStream.ipdl',
|
|
|
|
'PBrowser.ipdl',
|
|
|
|
'PContent.ipdl',
|
|
|
|
'PContentDialog.ipdl',
|
|
|
|
'PContentPermissionRequest.ipdl',
|
|
|
|
'PCrashReporter.ipdl',
|
|
|
|
'PDocumentRenderer.ipdl',
|
|
|
|
'PMemoryReportRequest.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 += [
|
|
|
|
'../src/base',
|
|
|
|
'../src/geolocation',
|
|
|
|
'../src/storage',
|
|
|
|
'/chrome/src',
|
|
|
|
'/content/base/src',
|
|
|
|
'/content/events/src',
|
|
|
|
'/content/media/webspeech/synth/ipc',
|
|
|
|
'/docshell/base',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/bluetooth',
|
|
|
|
'/dom/bluetooth/ipc',
|
|
|
|
'/dom/devicestorage',
|
|
|
|
'/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',
|
|
|
|
]
|
|
|
|
|
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
|
|
|
|
|
|
|
|
for var in ('MOZ_PERMISSIONS', 'MOZ_CHILD_PERMISSIONS'):
|
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|
2013-12-09 23:18:11 -08:00
|
|
|
|
|
|
|
JAR_MANIFESTS += ['jar.mn']
|