mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +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
|
|
@ -11,13 +11,16 @@ XPIDL_SOURCES += [
|
|||
|
||||
XPIDL_MODULE = 'necko_wifi'
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiAccessPoint.cpp',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiMonitor.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Darwin':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerMac.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
|
|
@ -28,11 +31,11 @@ if CONFIG['OS_ARCH'] == 'Darwin':
|
|||
# to accept the warnings when targeting the newer SDKs.
|
||||
SOURCES['osx_corewlan.mm'].flags += ['-Wno-error=objc-method-access']
|
||||
elif CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD'):
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerFreeBSD.cpp',
|
||||
]
|
||||
elif CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerWin.cpp',
|
||||
'win_wifiScanner.cpp',
|
||||
'win_wlanLibrary.cpp',
|
||||
|
|
@ -40,12 +43,12 @@ elif CONFIG['OS_ARCH'] == 'WINNT':
|
|||
]
|
||||
elif CONFIG['OS_ARCH'] == 'SunOS':
|
||||
CXXFLAGS += CONFIG['GLIB_CFLAGS']
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerSolaris.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['NECKO_WIFI_DBUS']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsWifiScannerDBus.cpp',
|
||||
]
|
||||
CXXFLAGS += ['-Wno-error=shadow']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue