1 # -*- Mode: python; 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 OS_LIBS += CONFIG["SOCKET_LIBS"]
19 "nsWifiAccessPoint.cpp",
23 if CONFIG["OS_ARCH"] == "Darwin":
25 "mac/MacWifiScanner.mm",
30 elif CONFIG["OS_ARCH"] in ("DragonFly", "FreeBSD"):
32 "freebsd/FreeBsdWifiScanner.cpp",
37 elif CONFIG["OS_ARCH"] == "WINNT":
39 "win/WinWifiScanner.cpp",
40 "win/WlanLibrary.cpp",
45 elif CONFIG["OS_ARCH"] == "SunOS":
46 CXXFLAGS += CONFIG["GLIB_CFLAGS"]
48 "solaris/SolarisWifiScanner.cpp",
53 elif CONFIG["NECKO_WIFI_DBUS"]:
55 "dbus/DbusWifiScanner.cpp",
60 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
62 TEST_DIRS += ["gtest"]
66 include("/ipc/chromium/chromium-config.mozbuild")