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':
|
|
|
|
DIRS += ['interpose']
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'PluginLibrary.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.plugins += [
|
|
|
|
'AStream.h',
|
|
|
|
'BrowserStreamChild.h',
|
|
|
|
'BrowserStreamParent.h',
|
|
|
|
'ChildAsyncCall.h',
|
|
|
|
'ChildTimer.h',
|
|
|
|
'NPEventAndroid.h',
|
|
|
|
'NPEventOSX.h',
|
|
|
|
'NPEventUnix.h',
|
|
|
|
'NPEventWindows.h',
|
|
|
|
'PluginIdentifierChild.h',
|
|
|
|
'PluginIdentifierParent.h',
|
|
|
|
'PluginInstanceChild.h',
|
|
|
|
'PluginInstanceParent.h',
|
|
|
|
'PluginMessageUtils.h',
|
|
|
|
'PluginModuleChild.h',
|
|
|
|
'PluginModuleParent.h',
|
|
|
|
'PluginProcessChild.h',
|
|
|
|
'PluginProcessParent.h',
|
|
|
|
'PluginScriptableObjectChild.h',
|
|
|
|
'PluginScriptableObjectParent.h',
|
|
|
|
'PluginScriptableObjectUtils-inl.h',
|
|
|
|
'PluginScriptableObjectUtils.h',
|
|
|
|
'PluginStreamChild.h',
|
|
|
|
'PluginStreamParent.h',
|
|
|
|
'PluginUtilsOSX.h',
|
2013-09-23 10:34:00 -07:00
|
|
|
'ScopedMethodFactory.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'StreamNotifyChild.h',
|
|
|
|
'StreamNotifyParent.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
EXPORTS.mozilla.plugins += [
|
|
|
|
'PluginSurfaceParent.h',
|
|
|
|
]
|
2013-11-26 08:38:52 -08:00
|
|
|
# These files cannot be built in unified mode because they force NSPR logging.
|
2013-11-26 09:30:55 -08:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'COMMessageFilter.cpp',
|
|
|
|
'MiniShmParent.cpp',
|
|
|
|
'PluginHangUIParent.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'PluginSurfaceParent.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
2013-11-11 00:04:11 -08:00
|
|
|
DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX']
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/widget/shared',
|
|
|
|
'hangui',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXPORTS.mozilla.plugins += [
|
|
|
|
'PluginInterposeOSX.h',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_QT']:
|
2013-10-31 18:30:45 -07:00
|
|
|
GENERATED_SOURCES += [
|
2013-10-29 17:19:15 -07:00
|
|
|
'moc_NestedLoopTimer.cpp',
|
2013-10-31 18:30:45 -07:00
|
|
|
]
|
2013-11-26 08:38:52 -08:00
|
|
|
# These files cannot be built in unified mode because they force NSPR logging.
|
2013-11-26 09:30:55 -08:00
|
|
|
SOURCES += [
|
2013-10-23 16:05:43 -07:00
|
|
|
'NestedLoopTimer.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-11-26 08:38:52 -08:00
|
|
|
# These files cannot be built in unified mode because they force NSPR logging.
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'BrowserStreamChild.cpp',
|
|
|
|
'BrowserStreamParent.cpp',
|
|
|
|
'ChildAsyncCall.cpp',
|
|
|
|
'ChildTimer.cpp',
|
2013-09-24 13:45:14 -07:00
|
|
|
'PluginBackgroundDestroyer.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'PluginIdentifierChild.cpp',
|
|
|
|
'PluginIdentifierParent.cpp',
|
|
|
|
'PluginInstanceChild.cpp',
|
|
|
|
'PluginInstanceParent.cpp',
|
|
|
|
'PluginMessageUtils.cpp',
|
|
|
|
'PluginModuleChild.cpp',
|
|
|
|
'PluginModuleParent.cpp',
|
|
|
|
'PluginProcessChild.cpp',
|
|
|
|
'PluginProcessParent.cpp',
|
|
|
|
'PluginScriptableObjectChild.cpp',
|
|
|
|
'PluginScriptableObjectParent.cpp',
|
|
|
|
'PluginStreamChild.cpp',
|
|
|
|
'PluginStreamParent.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 09:32:40 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2013-11-26 08:38:52 -08:00
|
|
|
# These files cannot be built in unified mode because they force NSPR logging.
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-07-01 09:32:40 -07:00
|
|
|
'PluginInterposeOSX.mm',
|
|
|
|
'PluginUtilsOSX.mm',
|
|
|
|
]
|
2013-07-01 06:56:28 -07:00
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PBrowserStream.ipdl',
|
|
|
|
'PPluginBackgroundDestroyer.ipdl',
|
|
|
|
'PPluginIdentifier.ipdl',
|
|
|
|
'PPluginInstance.ipdl',
|
|
|
|
'PPluginModule.ipdl',
|
|
|
|
'PPluginScriptableObject.ipdl',
|
|
|
|
'PPluginStream.ipdl',
|
|
|
|
'PPluginSurface.ipdl',
|
|
|
|
'PStreamNotify.ipdl',
|
|
|
|
]
|
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 += [
|
|
|
|
'../base',
|
|
|
|
'/xpcom/base/',
|
|
|
|
]
|
|
|
|
|
|
|
|
DEFINES['FORCE_PR_LOG'] = True
|
|
|
|
|