1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/plugins/ipc/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,128 @@ 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 + DIRS += ['interpose'] 1.12 + 1.13 +EXPORTS.mozilla += [ 1.14 + 'PluginLibrary.h', 1.15 +] 1.16 + 1.17 +EXPORTS.mozilla.plugins += [ 1.18 + 'AStream.h', 1.19 + 'BrowserStreamChild.h', 1.20 + 'BrowserStreamParent.h', 1.21 + 'ChildAsyncCall.h', 1.22 + 'ChildTimer.h', 1.23 + 'NPEventAndroid.h', 1.24 + 'NPEventOSX.h', 1.25 + 'NPEventUnix.h', 1.26 + 'NPEventWindows.h', 1.27 + 'PluginIdentifierChild.h', 1.28 + 'PluginIdentifierParent.h', 1.29 + 'PluginInstanceChild.h', 1.30 + 'PluginInstanceParent.h', 1.31 + 'PluginMessageUtils.h', 1.32 + 'PluginModuleChild.h', 1.33 + 'PluginModuleParent.h', 1.34 + 'PluginProcessChild.h', 1.35 + 'PluginProcessParent.h', 1.36 + 'PluginScriptableObjectChild.h', 1.37 + 'PluginScriptableObjectParent.h', 1.38 + 'PluginScriptableObjectUtils-inl.h', 1.39 + 'PluginScriptableObjectUtils.h', 1.40 + 'PluginStreamChild.h', 1.41 + 'PluginStreamParent.h', 1.42 + 'PluginUtilsOSX.h', 1.43 + 'ScopedMethodFactory.h', 1.44 + 'StreamNotifyChild.h', 1.45 + 'StreamNotifyParent.h', 1.46 +] 1.47 + 1.48 +if CONFIG['OS_ARCH'] == 'WINNT': 1.49 + EXPORTS.mozilla.plugins += [ 1.50 + 'PluginSurfaceParent.h', 1.51 + ] 1.52 + # These files cannot be built in unified mode because they force NSPR logging. 1.53 + SOURCES += [ 1.54 + 'COMMessageFilter.cpp', 1.55 + 'MiniShmParent.cpp', 1.56 + 'PluginHangUIParent.cpp', 1.57 + 'PluginSurfaceParent.cpp', 1.58 + ] 1.59 + DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX'] 1.60 + LOCAL_INCLUDES += [ 1.61 + '/widget/shared', 1.62 + 'hangui', 1.63 + ] 1.64 + 1.65 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.66 + EXPORTS.mozilla.plugins += [ 1.67 + 'PluginInterposeOSX.h', 1.68 + ] 1.69 + 1.70 +if CONFIG['MOZ_ENABLE_QT']: 1.71 + GENERATED_SOURCES += [ 1.72 + 'moc_NestedLoopTimer.cpp', 1.73 + ] 1.74 + # These files cannot be built in unified mode because they force NSPR logging. 1.75 + SOURCES += [ 1.76 + 'NestedLoopTimer.cpp', 1.77 + ] 1.78 + 1.79 +# These files cannot be built in unified mode because they force NSPR logging. 1.80 +SOURCES += [ 1.81 + 'BrowserStreamChild.cpp', 1.82 + 'BrowserStreamParent.cpp', 1.83 + 'ChildAsyncCall.cpp', 1.84 + 'ChildTimer.cpp', 1.85 + 'PluginBackgroundDestroyer.cpp', 1.86 + 'PluginIdentifierChild.cpp', 1.87 + 'PluginIdentifierParent.cpp', 1.88 + 'PluginInstanceChild.cpp', 1.89 + 'PluginInstanceParent.cpp', 1.90 + 'PluginMessageUtils.cpp', 1.91 + 'PluginModuleChild.cpp', 1.92 + 'PluginModuleParent.cpp', 1.93 + 'PluginProcessChild.cpp', 1.94 + 'PluginProcessParent.cpp', 1.95 + 'PluginScriptableObjectChild.cpp', 1.96 + 'PluginScriptableObjectParent.cpp', 1.97 + 'PluginStreamChild.cpp', 1.98 + 'PluginStreamParent.cpp', 1.99 +] 1.100 + 1.101 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.102 + # These files cannot be built in unified mode because they force NSPR logging. 1.103 + SOURCES += [ 1.104 + 'PluginInterposeOSX.mm', 1.105 + 'PluginUtilsOSX.mm', 1.106 + ] 1.107 + 1.108 +IPDL_SOURCES += [ 1.109 + 'PBrowserStream.ipdl', 1.110 + 'PPluginBackgroundDestroyer.ipdl', 1.111 + 'PPluginIdentifier.ipdl', 1.112 + 'PPluginInstance.ipdl', 1.113 + 'PPluginModule.ipdl', 1.114 + 'PPluginScriptableObject.ipdl', 1.115 + 'PPluginStream.ipdl', 1.116 + 'PPluginSurface.ipdl', 1.117 + 'PStreamNotify.ipdl', 1.118 +] 1.119 + 1.120 +FAIL_ON_WARNINGS = True 1.121 + 1.122 +include('/ipc/chromium/chromium-config.mozbuild') 1.123 + 1.124 +FINAL_LIBRARY = 'xul' 1.125 +LOCAL_INCLUDES += [ 1.126 + '../base', 1.127 + '/xpcom/base/', 1.128 +] 1.129 + 1.130 +DEFINES['FORCE_PR_LOG'] = True 1.131 +