Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: device/geolocation/BUILD.gn

Issue 2842613002: Geolocation Win: remove Xp/Vista specific WindowsNdisApi class (Closed)
Patch Set: robliao@s comments - static lib loading Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni(). 8 import("//build/config/android/rules.gni") # For generate_jni().
9 } 9 }
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 if (is_chromeos) { 105 if (is_chromeos) {
106 deps += [ "//chromeos" ] 106 deps += [ "//chromeos" ]
107 } 107 }
108 108
109 if (is_mac) { 109 if (is_mac) {
110 libs = [ 110 libs = [
111 "CoreWLAN.framework", 111 "CoreWLAN.framework",
112 "Foundation.framework", 112 "Foundation.framework",
113 ] 113 ]
114 } 114 }
115
116 if (is_win) {
117 libs = [ "wlanapi.lib" ]
118 ldflags = [ "/DELAYLOAD:wlanapi.dll" ]
119 }
115 } 120 }
116 121
117 if (is_android) { 122 if (is_android) {
118 generate_jni("geolocation_jni_headers") { 123 generate_jni("geolocation_jni_headers") {
119 sources = [ 124 sources = [
120 "android/java/src/org/chromium/device/geolocation/LocationProviderAdapter. java", 125 "android/java/src/org/chromium/device/geolocation/LocationProviderAdapter. java",
121 ] 126 ]
122 jni_package = "device" 127 jni_package = "device"
123 } 128 }
124 129
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 210 }
206 211
207 if (is_android) { 212 if (is_android) {
208 sources -= [ 213 sources -= [
209 "network_location_provider_unittest.cc", 214 "network_location_provider_unittest.cc",
210 "wifi_data_provider_common_unittest.cc", 215 "wifi_data_provider_common_unittest.cc",
211 ] 216 ]
212 deps += [ ":geolocation_java_test_support" ] 217 deps += [ ":geolocation_java_test_support" ]
213 } 218 }
214 } 219 }
OLDNEW
« no previous file with comments | « no previous file | device/geolocation/wifi_data_provider_win.cc » ('j') | device/geolocation/wifi_data_provider_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698