Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / components / wifi.gypi
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.
4
5 {
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_win.cc',
27       ],
28       'conditions': [
29         ['OS == "win"', {
30           'link_settings': {
31             'libraries': [
32               '-liphlpapi.lib',
33             ],
34           },
35         }],
36       ],
37     },
38     {
39       'target_name': 'wifi_test',
40       'type': 'executable',
41       'dependencies': [
42         'wifi_component',
43         '../base/base.gyp:base',
44         '../components/components.gyp:onc_component',
45       ],
46       'include_dirs': [
47         '..',
48       ],
49       'sources': [
50         'wifi/wifi_test.cc',
51       ],
52     },
53   ],
54 }