summaryrefslogtreecommitdiff
path: root/netwerk/wifi/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/wifi/moz.build')
-rw-r--r--netwerk/wifi/moz.build15
1 files changed, 9 insertions, 6 deletions
diff --git a/netwerk/wifi/moz.build b/netwerk/wifi/moz.build
index 9d38dcc447..fc30584a03 100644
--- a/netwerk/wifi/moz.build
+++ b/netwerk/wifi/moz.build
@@ -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,23 +31,23 @@ 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',
]
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']