2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:23 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIWifiAccessPoint.idl',
|
|
|
|
'nsIWifiListener.idl',
|
|
|
|
'nsIWifiMonitor.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'necko_wifi'
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'necko'
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiAccessPoint.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiMonitorGonk.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiMonitor.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Darwin':
|
2013-08-21 23:55:59 -07:00
|
|
|
# osx_corewlan.mm has warnings I don't understand.
|
|
|
|
FAIL_ON_WARNINGS = False
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiScannerMac.cpp',
|
|
|
|
]
|
2013-07-02 14:09:08 -07:00
|
|
|
CMMSRCS += [
|
|
|
|
'osx_corewlan.mm',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
elif CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiScannerWin.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['OS_ARCH'] == 'SunOS':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiScannerSolaris.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-17 06:57:28 -07:00
|
|
|
if CONFIG['NECKO_WIFI_DBUS']:
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsWifiScannerDBus.cpp',
|
|
|
|
]
|
2013-06-17 12:21:01 -07:00
|
|
|
|
|
|
|
LIBRARY_NAME = 'neckowifi_s'
|
2013-08-21 23:56:00 -07:00
|
|
|
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|