| 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/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
| 10 } | 10 } |
| 11 | 11 |
| 12 component("geolocation") { | 12 component("geolocation") { |
| 13 defines = [ "DEVICE_GEOLOCATION_IMPLEMENTATION" ] | 13 defines = [ "DEVICE_GEOLOCATION_IMPLEMENTATION" ] |
| 14 | 14 |
| 15 sources = [ | 15 sources = [ |
| 16 "access_token_store.h", | 16 "access_token_store.h", |
| 17 "android/geolocation_jni_registrar.cc", | 17 "android/geolocation_jni_registrar.cc", |
| 18 "android/geolocation_jni_registrar.h", | 18 "android/geolocation_jni_registrar.h", |
| 19 "empty_wifi_data_provider.cc", | 19 "empty_wifi_data_provider.cc", |
| 20 "empty_wifi_data_provider.h", | 20 "empty_wifi_data_provider.h", |
| 21 "geolocation_delegate.cc", | 21 "geolocation_delegate.cc", |
| 22 "geolocation_delegate.h", | 22 "geolocation_delegate.h", |
| 23 "geolocation_export.h", | 23 "geolocation_export.h", |
| 24 "geolocation_manager.cc", |
| 25 "geolocation_manager.h", |
| 24 "geolocation_provider.h", | 26 "geolocation_provider.h", |
| 25 "geolocation_provider_impl.cc", | 27 "geolocation_provider_impl.cc", |
| 26 "geolocation_provider_impl.h", | 28 "geolocation_provider_impl.h", |
| 27 "geolocation_service_context.cc", | 29 "geolocation_service_context.cc", |
| 28 "geolocation_service_context.h", | 30 "geolocation_service_context.h", |
| 29 "geolocation_service_impl.cc", | 31 "geolocation_service_impl.cc", |
| 30 "geolocation_service_impl.h", | 32 "geolocation_service_impl.h", |
| 31 "geoposition.cc", | 33 "geoposition.cc", |
| 32 "geoposition.h", | 34 "geoposition.h", |
| 33 "location_api_adapter_android.cc", | 35 "location_api_adapter_android.cc", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 } | 212 } |
| 211 | 213 |
| 212 if (is_android) { | 214 if (is_android) { |
| 213 sources -= [ | 215 sources -= [ |
| 214 "network_location_provider_unittest.cc", | 216 "network_location_provider_unittest.cc", |
| 215 "wifi_data_provider_common_unittest.cc", | 217 "wifi_data_provider_common_unittest.cc", |
| 216 ] | 218 ] |
| 217 deps += [ ":geolocation_java_test_support" ] | 219 deps += [ ":geolocation_java_test_support" ] |
| 218 } | 220 } |
| 219 } | 221 } |
| OLD | NEW |