| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'wifi_component', | 8 'target_name': 'wifi_component', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'dependencies': [ | 10 'dependencies': [ |
| 11 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
| 12 '../components/components.gyp:onc_component', | 12 '../components/components.gyp:onc_component', |
| 13 ], | 13 ], |
| 14 'include_dirs': [ | 14 'include_dirs': [ |
| 15 '..', | 15 '..', |
| 16 ], | 16 ], |
| 17 'defines': [ | 17 'defines': [ |
| 18 'WIFI_IMPLEMENTATION', | 18 'WIFI_IMPLEMENTATION', |
| 19 ], | 19 ], |
| 20 'sources': [ | 20 'sources': [ |
| 21 'wifi/wifi_export.h', | 21 'wifi/wifi_export.h', |
| 22 'wifi/wifi_service.cc', | 22 'wifi/wifi_service.cc', |
| 23 'wifi/wifi_service.h', | 23 'wifi/wifi_service.h', |
| 24 'wifi/fake_wifi_service.cc', | 24 'wifi/fake_wifi_service.cc', |
| 25 'wifi/wifi_service_mac.mm', |
| 25 'wifi/wifi_service_win.cc', | 26 'wifi/wifi_service_win.cc', |
| 26 ], | 27 ], |
| 27 'conditions': [ | 28 'conditions': [ |
| 28 ['OS == "win"', { | 29 ['OS == "win"', { |
| 29 'link_settings': { | 30 'link_settings': { |
| 30 'libraries': [ | 31 'libraries': [ |
| 31 '-liphlpapi.lib', | 32 '-liphlpapi.lib', |
| 32 ], | 33 ], |
| 33 }, | 34 }, |
| 34 }], | 35 }], |
| 36 ['OS=="mac"', { |
| 37 'link_settings': { |
| 38 'libraries': [ |
| 39 '$(SDKROOT)/System/Library/Frameworks/CoreWLAN.framework', |
| 40 ], |
| 41 }, |
| 42 }], |
| 35 ], | 43 ], |
| 36 }, | 44 }, |
| 37 { | 45 { |
| 38 'target_name': 'wifi_test', | 46 'target_name': 'wifi_test', |
| 39 'type': 'executable', | 47 'type': 'executable', |
| 40 'dependencies': [ | 48 'dependencies': [ |
| 41 'wifi_component', | 49 'wifi_component', |
| 42 '../base/base.gyp:base', | 50 '../base/base.gyp:base', |
| 43 '../components/components.gyp:onc_component', | 51 '../components/components.gyp:onc_component', |
| 44 ], | 52 ], |
| 45 'include_dirs': [ | 53 'include_dirs': [ |
| 46 '..', | 54 '..', |
| 47 ], | 55 ], |
| 48 'sources': [ | 56 'sources': [ |
| 49 'wifi/wifi_test.cc', | 57 'wifi/wifi_test.cc', |
| 50 ], | 58 ], |
| 51 }, | 59 }, |
| 52 ], | 60 ], |
| 53 } | 61 } |
| OLD | NEW |