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_config.cc", |
| 22 "geolocation_config.h", |
21 "geolocation_context.cc", | 23 "geolocation_context.cc", |
22 "geolocation_context.h", | 24 "geolocation_context.h", |
23 "geolocation_delegate.cc", | 25 "geolocation_delegate.cc", |
24 "geolocation_delegate.h", | 26 "geolocation_delegate.h", |
25 "geolocation_export.h", | 27 "geolocation_export.h", |
26 "geolocation_impl.cc", | 28 "geolocation_impl.cc", |
27 "geolocation_impl.h", | 29 "geolocation_impl.h", |
28 "geolocation_provider.h", | 30 "geolocation_provider.h", |
29 "geolocation_provider_impl.cc", | 31 "geolocation_provider_impl.cc", |
30 "geolocation_provider_impl.h", | 32 "geolocation_provider_impl.h", |
(...skipping 179 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 |