blob: 866b4da33657ee7064e4d84bfdb6b8ebd6f94ac8 [file] [log] [blame]
[email protected]1b6888ad2013-11-22 12:44:411# Copyright 2013 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.
4
5{
6 'targets': [
7 {
8 'target_name': 'wifi_component',
9 'type': '<(component)',
10 'dependencies': [
11 '../base/base.gyp:base',
[email protected]e425d0362013-12-13 18:25:1712 '../third_party/libxml/libxml.gyp:libxml',
[email protected]c6afb98b2014-04-24 23:04:3213 'onc_component',
[email protected]1b6888ad2013-11-22 12:44:4114 ],
15 'include_dirs': [
16 '..',
17 ],
18 'defines': [
19 'WIFI_IMPLEMENTATION',
20 ],
21 'sources': [
[email protected]ca11059e2014-06-04 08:41:2222 'wifi/network_properties.cc',
23 'wifi/network_properties.h',
[email protected]1b6888ad2013-11-22 12:44:4124 'wifi/wifi_export.h',
25 'wifi/wifi_service.cc',
26 'wifi/wifi_service.h',
[email protected]333db222014-01-29 07:34:3727 'wifi/wifi_service_mac.mm',
[email protected]4f9264c2013-11-22 20:25:5428 'wifi/wifi_service_win.cc',
29 ],
30 'conditions': [
31 ['OS == "win"', {
32 'link_settings': {
33 'libraries': [
34 '-liphlpapi.lib',
35 ],
36 },
37 }],
[email protected]333db222014-01-29 07:34:3738 ['OS == "mac"', {
39 'link_settings': {
40 'libraries': [
41 '$(SDKROOT)/System/Library/Frameworks/CoreWLAN.framework',
42 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
43 ]
44 },
45 }],
[email protected]4f9264c2013-11-22 20:25:5446 ],
47 },
48 {
[email protected]d3758af2014-05-05 19:02:3749 'target_name': 'wifi_test_support',
50 'type': 'static_library',
51 'dependencies': [
52 '../base/base.gyp:base',
53 'onc_component',
54 'wifi_component',
55 ],
56 'include_dirs': [
57 '..',
58 ],
59 'sources': [
60 'wifi/fake_wifi_service.cc',
61 'wifi/fake_wifi_service.h',
62 ],
63 },
64 {
[email protected]4f9264c2013-11-22 20:25:5465 'target_name': 'wifi_test',
66 'type': 'executable',
67 'dependencies': [
[email protected]4f9264c2013-11-22 20:25:5468 '../base/base.gyp:base',
[email protected]c6afb98b2014-04-24 23:04:3269 'onc_component',
70 'wifi_component',
[email protected]4f9264c2013-11-22 20:25:5471 ],
72 'include_dirs': [
73 '..',
74 ],
75 'sources': [
76 'wifi/wifi_test.cc',
[email protected]1b6888ad2013-11-22 12:44:4177 ],
78 },
79 ],
80}