| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 static_library("discovery") { | 6 static_library("discovery") { |
| 7 inputs = [ | 7 inputs = [ |
| 8 "$root_gen_dir/chrome/grit/generated_resources.h", | 8 "$root_gen_dir/chrome/grit/generated_resources.h", |
| 9 ] | 9 ] |
| 10 deps = [ | 10 deps = [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 if (!is_android) { | 37 if (!is_android) { |
| 38 sources += [ | 38 sources += [ |
| 39 "discovery_network_info.cc", | 39 "discovery_network_info.cc", |
| 40 "discovery_network_info.h", | 40 "discovery_network_info.h", |
| 41 "discovery_network_list.h", | 41 "discovery_network_list.h", |
| 42 "discovery_network_list_posix.cc", | 42 "discovery_network_list_posix.cc", |
| 43 "discovery_network_list_wifi.h", | 43 "discovery_network_list_wifi.h", |
| 44 "discovery_network_list_wifi_linux.cc", | 44 "discovery_network_list_wifi_linux.cc", |
| 45 "discovery_network_list_wifi_mac.mm", |
| 45 "discovery_network_list_win.cc", | 46 "discovery_network_list_win.cc", |
| 46 "discovery_network_monitor.cc", | 47 "discovery_network_monitor.cc", |
| 47 "discovery_network_monitor.h", | 48 "discovery_network_monitor.h", |
| 48 ] | 49 ] |
| 49 } | 50 } |
| 51 |
| 52 if (is_win) { |
| 53 libs = [ "wlanapi.lib" ] |
| 54 ldflags = [ "/DELAYLOAD:wlanapi.dll" ] |
| 55 } |
| 56 |
| 57 if (is_mac) { |
| 58 libs = [ "CoreWLAN.framework" ] |
| 59 } |
| 50 } | 60 } |
| OLD | NEW |