summaryrefslogtreecommitdiffstats
path: root/dom/plugins/base/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'dom/plugins/base/moz.build')
-rw-r--r--dom/plugins/base/moz.build17
1 files changed, 7 insertions, 10 deletions
diff --git a/dom/plugins/base/moz.build b/dom/plugins/base/moz.build
index a159d6fc1..d63ca51ce 100644
--- a/dom/plugins/base/moz.build
+++ b/dom/plugins/base/moz.build
@@ -38,10 +38,12 @@ EXPORTS.mozilla += [
'PluginPRLibrary.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'nsJSNPRuntime.cpp',
+ 'nsNPAPIPlugin.cpp',
'nsNPAPIPluginInstance.cpp',
'nsNPAPIPluginStreamListener.cpp',
+ 'nsPluginHost.cpp',
'nsPluginInstanceOwner.cpp',
'nsPluginModule.cpp',
'nsPluginStreamListenerPeer.cpp',
@@ -49,24 +51,19 @@ UNIFIED_SOURCES += [
'PluginPRLibrary.cpp',
]
-SOURCES += [
- 'nsNPAPIPlugin.cpp', # Conflict with X11 headers
- 'nsPluginHost.cpp', # Conflict with NS_NPAPIPLUGIN_CALLBACK
-]
-
if CONFIG['OS_ARCH'] == 'WINNT':
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsPluginDirServiceProvider.cpp',
'nsPluginNativeWindowWin.cpp',
'nsPluginsDirWin.cpp',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsPluginNativeWindow.cpp',
'nsPluginsDirDarwin.cpp',
]
else:
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsPluginsDirUnix.cpp',
]
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
@@ -75,7 +72,7 @@ else:
'nsPluginNativeWindowGtk.cpp',
]
else:
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsPluginNativeWindow.cpp',
]