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 "nsWifiAccessPoint.cpp",
20 if CONFIG["OS_ARCH"] == "Darwin":
22 "mac/MacWifiScanner.mm",
27 elif CONFIG["OS_ARCH"] in ("DragonFly", "FreeBSD"):
29 "freebsd/FreeBsdWifiScanner.cpp",
34 elif CONFIG["OS_ARCH"] == "WINNT":
36 "win/WinWifiScanner.cpp",
37 "win/WlanLibrary.cpp",
42 elif CONFIG["OS_ARCH"] == "SunOS":
43 CXXFLAGS += CONFIG["GLIB_CFLAGS"]
45 "solaris/SolarisWifiScanner.cpp",
50 elif CONFIG["NECKO_WIFI_DBUS"]:
52 "dbus/DbusWifiScanner.cpp",
57 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
59 TEST_DIRS += ["gtest"]
63 include("/ipc/chromium/chromium-config.mozbuild")