Disable tests broken on WinXP Tests(1) only.
[chromium-blink-merge.git] / components / wifi.gypi
blob3090bd2dc6259e38534f660e02cdf1ff817e0c45
1 # 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.
6   'targets': [
7     {
8       'target_name': 'wifi_component',
9       'type': '<(component)',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../components/components.gyp:onc_component',
13         '../third_party/libxml/libxml.gyp:libxml',
14       ],
15       'include_dirs': [
16         '..',
17       ],
18       'defines': [
19         'WIFI_IMPLEMENTATION',
20       ],
21       'sources': [
22         'wifi/wifi_export.h',
23         'wifi/wifi_service.cc',
24         'wifi/wifi_service.h',
25         'wifi/fake_wifi_service.cc',
26         'wifi/wifi_service_mac.mm',
27         'wifi/wifi_service_win.cc',
28       ],
29       'conditions': [
30         ['OS == "win"', {
31           'link_settings': {
32             'libraries': [
33               '-liphlpapi.lib',
34             ],
35           },
36         }],
37         ['OS == "mac"', {
38           'link_settings': {
39             'libraries': [
40               '$(SDKROOT)/System/Library/Frameworks/CoreWLAN.framework',
41               '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
42             ]
43           },
44         }],
45       ],
46     },
47     {
48       'target_name': 'wifi_test',
49       'type': 'executable',
50       'dependencies': [
51         'wifi_component',
52         '../base/base.gyp:base',
53         '../components/components.gyp:onc_component',
54       ],
55       'include_dirs': [
56         '..',
57       ],
58       'sources': [
59         'wifi/wifi_test.cc',
60       ],
61     },
62   ],