1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/ipc/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,139 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'cocoa': 1.11 + TEST_DIRS += ['tests'] 1.12 + 1.13 +EXPORTS += [ 1.14 + 'nsICachedFileDescriptorListener.h', 1.15 + 'PCOMContentPermissionRequestChild.h', 1.16 +] 1.17 + 1.18 +EXPORTS.mozilla.dom.ipc += [ 1.19 + 'Blob.h', 1.20 + 'nsIRemoteBlob.h', 1.21 +] 1.22 + 1.23 +EXPORTS.mozilla.dom += [ 1.24 + 'ContentChild.h', 1.25 + 'ContentParent.h', 1.26 + 'ContentProcess.h', 1.27 + 'CrashReporterChild.h', 1.28 + 'CrashReporterParent.h', 1.29 + 'FileDescriptorSetChild.h', 1.30 + 'FileDescriptorSetParent.h', 1.31 + 'FilePickerParent.h', 1.32 + 'PermissionMessageUtils.h', 1.33 + 'StructuredCloneUtils.h', 1.34 + 'TabChild.h', 1.35 + 'TabContext.h', 1.36 + 'TabMessageUtils.h', 1.37 + 'TabParent.h', 1.38 +] 1.39 + 1.40 +EXPORTS.mozilla += [ 1.41 + 'AppProcessChecker.h', 1.42 + 'PreallocatedProcessManager.h', 1.43 + 'ProcessPriorityManager.h', 1.44 +] 1.45 + 1.46 +UNIFIED_SOURCES += [ 1.47 + 'AppProcessChecker.cpp', 1.48 + 'ColorPickerParent.cpp', 1.49 + 'ContentParent.cpp', 1.50 + 'ContentProcess.cpp', 1.51 + 'CrashReporterParent.cpp', 1.52 + 'FileDescriptorSetChild.cpp', 1.53 + 'FileDescriptorSetParent.cpp', 1.54 + 'FilePickerParent.cpp', 1.55 + 'PermissionMessageUtils.cpp', 1.56 + 'PreallocatedProcessManager.cpp', 1.57 + 'ProcessPriorityManager.cpp', 1.58 + 'StructuredCloneUtils.cpp', 1.59 + 'TabChild.cpp', 1.60 + 'TabContext.cpp', 1.61 + 'TabMessageUtils.cpp', 1.62 + 'TabParent.cpp', 1.63 +] 1.64 + 1.65 +# Blob.cpp cannot be compiled in unified mode because it triggers a fatal gcc warning. 1.66 +# ContentChild.cpp cannot be compiled in unified mode because it forces NSPR logging. 1.67 +# CrashReporterChild.cpp cannot be compiled in unified mode because of name clashes 1.68 +# in OS X headers. 1.69 +SOURCES += [ 1.70 + 'Blob.cpp', 1.71 + 'ContentChild.cpp', 1.72 + 'CrashReporterChild.cpp', 1.73 +] 1.74 + 1.75 +IPDL_SOURCES += [ 1.76 + 'DOMTypes.ipdlh', 1.77 + 'PBlob.ipdl', 1.78 + 'PBlobStream.ipdl', 1.79 + 'PBrowser.ipdl', 1.80 + 'PColorPicker.ipdl', 1.81 + 'PContent.ipdl', 1.82 + 'PContentPermission.ipdlh', 1.83 + 'PContentPermissionRequest.ipdl', 1.84 + 'PCrashReporter.ipdl', 1.85 + 'PDocumentRenderer.ipdl', 1.86 + 'PFileDescriptorSet.ipdl', 1.87 + 'PFilePicker.ipdl', 1.88 + 'PMemoryReportRequest.ipdl', 1.89 + 'PTabContext.ipdlh', 1.90 +] 1.91 + 1.92 +FAIL_ON_WARNINGS = True 1.93 + 1.94 +include('/ipc/chromium/chromium-config.mozbuild') 1.95 + 1.96 +FINAL_LIBRARY = 'xul' 1.97 +LOCAL_INCLUDES += [ 1.98 + '../src/base', 1.99 + '../src/geolocation', 1.100 + '../src/storage', 1.101 + '/chrome/src', 1.102 + '/content/base/src', 1.103 + '/content/media/webspeech/synth/ipc', 1.104 + '/docshell/base', 1.105 + '/dom/base', 1.106 + '/dom/bluetooth', 1.107 + '/dom/bluetooth/ipc', 1.108 + '/dom/devicestorage', 1.109 + '/dom/filesystem', 1.110 + '/dom/fmradio/ipc', 1.111 + '/dom/indexedDB', 1.112 + '/dom/indexedDB/ipc', 1.113 + '/dom/mobilemessage/src/ipc', 1.114 + '/extensions/cookie', 1.115 + '/hal/sandbox', 1.116 + '/js/ipc', 1.117 + '/layout/base', 1.118 + '/netwerk/base/src', 1.119 + '/toolkit/xre', 1.120 + '/uriloader/exthandler', 1.121 + '/widget/xpwidgets', 1.122 + '/xpcom/base', 1.123 + '/xpcom/threads', 1.124 +] 1.125 + 1.126 +DEFINES['BIN_SUFFIX'] = '"%s"' % CONFIG['BIN_SUFFIX'] 1.127 + 1.128 +if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gtk2', 'gonk', 'qt'): 1.129 + DEFINES['MOZ_ENABLE_FREETYPE'] = True 1.130 + 1.131 +for var in ('MOZ_PERMISSIONS', 'MOZ_CHILD_PERMISSIONS'): 1.132 + if CONFIG[var]: 1.133 + DEFINES[var] = True 1.134 + 1.135 +if CONFIG['ENABLE_TESTS']: 1.136 + DEFINES['ENABLE_TESTS'] = 1 1.137 + LOCAL_INCLUDES += [ 1.138 + 'ipc/glue', 1.139 + ] 1.140 + 1.141 +JAR_MANIFESTS += ['jar.mn'] 1.142 +