mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #80 - reinstated unified building for some large chunks of our code.
This should reduce compile complexity saving time and reducing linker stress.
This commit is contained in:
parent
66424272f3
commit
5dfded811d
115 changed files with 293 additions and 258 deletions
|
|
@ -37,12 +37,10 @@ EXPORTS.mozilla += [
|
|||
'PluginPRLibrary.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsJSNPRuntime.cpp',
|
||||
'nsNPAPIPlugin.cpp',
|
||||
'nsNPAPIPluginInstance.cpp',
|
||||
'nsNPAPIPluginStreamListener.cpp',
|
||||
'nsPluginHost.cpp',
|
||||
'nsPluginInstanceOwner.cpp',
|
||||
'nsPluginModule.cpp',
|
||||
'nsPluginStreamListenerPeer.cpp',
|
||||
|
|
@ -50,19 +48,24 @@ SOURCES += [
|
|||
'PluginPRLibrary.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'nsNPAPIPlugin.cpp', # Conflict with X11 headers
|
||||
'nsPluginHost.cpp', # Conflict with NS_NPAPIPLUGIN_CALLBACK
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginDirServiceProvider.cpp',
|
||||
'nsPluginNativeWindowWin.cpp',
|
||||
'nsPluginsDirWin.cpp',
|
||||
]
|
||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginNativeWindow.cpp',
|
||||
'nsPluginsDirDarwin.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginsDirUnix.cpp',
|
||||
]
|
||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
|
|
@ -71,7 +74,7 @@ else:
|
|||
'nsPluginNativeWindowGtk.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginNativeWindow.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue