1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 'nsIWifiAccessPoint.idl',
13 XPIDL_MODULE = 'necko_wifi'
16 'nsWifiAccessPoint.cpp',
19 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
21 'nsWifiMonitorGonk.cpp',
28 # osx_corewlan.mm has warnings I don't understand.
29 FAIL_ON_WARNINGS = CONFIG['OS_ARCH'] != 'Darwin'
31 if CONFIG['OS_ARCH'] == 'Darwin':
33 'nsWifiScannerMac.cpp',
38 elif CONFIG['OS_ARCH'] == 'FreeBSD':
40 'nsWifiScannerFreeBSD.cpp',
42 elif CONFIG['OS_ARCH'] == 'WINNT':
44 'nsWifiScannerWin.cpp',
45 'win_wifiScanner.cpp',
46 'win_wlanLibrary.cpp',
48 elif CONFIG['OS_ARCH'] == 'SunOS':
49 CXXFLAGS += CONFIG['GLIB_CFLAGS']
51 'nsWifiScannerSolaris.cpp',
54 if CONFIG['NECKO_WIFI_DBUS']:
56 'nsWifiScannerDBus.cpp',
59 if CONFIG['NECKO_WIFI_DBUS']:
60 CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']