| OLD | NEW |
| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 "wifi_data_provider_win.h", | 64 "wifi_data_provider_win.h", |
| 65 "wifi_polling_policy.h", | 65 "wifi_polling_policy.h", |
| 66 ] | 66 ] |
| 67 | 67 |
| 68 deps = [ | 68 deps = [ |
| 69 "//base", | 69 "//base", |
| 70 "//google_apis:google_apis", | 70 "//google_apis:google_apis", |
| 71 "//mojo/edk/system", | 71 "//mojo/edk/system", |
| 72 "//mojo/public/cpp/bindings", | 72 "//mojo/public/cpp/bindings", |
| 73 "//net", | 73 "//net", |
| 74 | |
| 75 # TODO(mcasas): move geolocation.mojom to public/interfaces. | |
| 76 "//third_party/WebKit/public:mojo_bindings", | |
| 77 "//ui/gfx", | 74 "//ui/gfx", |
| 78 ] | 75 ] |
| 79 | 76 public_deps = [ |
| 77 "//device/geolocation/public/interfaces", |
| 78 ] |
| 80 if (is_android) { | 79 if (is_android) { |
| 81 sources -= [ | 80 sources -= [ |
| 82 "network_location_provider.cc", | 81 "network_location_provider.cc", |
| 83 "network_location_provider.h", | 82 "network_location_provider.h", |
| 84 "network_location_request.cc", | 83 "network_location_request.cc", |
| 85 "network_location_request.h", | 84 "network_location_request.h", |
| 86 ] | 85 ] |
| 87 deps += [ ":geolocation_jni_headers" ] | 86 deps += [ ":geolocation_jni_headers" ] |
| 88 } | 87 } |
| 89 | 88 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 } | 190 } |
| 192 | 191 |
| 193 if (is_android) { | 192 if (is_android) { |
| 194 sources -= [ | 193 sources -= [ |
| 195 "network_location_provider_unittest.cc", | 194 "network_location_provider_unittest.cc", |
| 196 "wifi_data_provider_common_unittest.cc", | 195 "wifi_data_provider_common_unittest.cc", |
| 197 ] | 196 ] |
| 198 deps += [ ":geolocation_java_test_support" ] | 197 deps += [ ":geolocation_java_test_support" ] |
| 199 } | 198 } |
| 200 } | 199 } |
| OLD | NEW |