ExtensionInstallDialogView: fix scrolling behavior on Views (Win,Linux)
[chromium-blink-merge.git] / components / wifi / BUILD.gn
blob9b6038b676f970f3bec14576a4661e7e188984b4
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 component("wifi") {
6   sources = [
7     "network_properties.cc",
8     "network_properties.h",
9     "wifi_export.h",
10     "wifi_service.cc",
11     "wifi_service.h",
12     "wifi_service_mac.mm",
13     "wifi_service_win.cc",
14   ]
16   defines = [ "WIFI_IMPLEMENTATION" ]
18   deps = [
19     "//base",
20     "//components/onc",
21     "//crypto",
22     "//third_party/libxml",
23   ]
25   if (is_win) {
26     libs = [ "iphlpapi.lib" ]
27   }
29   if (is_mac) {
30     libs = [
31       "CoreWLAN.framework",
32       "SystemConfiguration.framework",
33     ]
34   }
37 source_set("test_support") {
38   sources = [
39     "fake_wifi_service.cc",
40     "fake_wifi_service.h",
41   ]
43   deps = [
44     ":wifi",
45     "//base",
46     "//components/onc",
47   ]
50 executable("wifi_test") {
51   sources = [
52     "wifi_test.cc",
53   ]
55   deps = [
56     ":wifi",
57     "//base",
58     "//components/onc",
59   ]