OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 config("cpu_features_include") { | 7 config("cpu_features_include") { |
8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] | 8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] |
9 } | 9 } |
10 | 10 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 # modules they need. | 202 # modules they need. |
203 java_group("google_play_services_default_java") { | 203 java_group("google_play_services_default_java") { |
204 deps = [ | 204 deps = [ |
205 ":google_play_services_auth_base_java", | 205 ":google_play_services_auth_base_java", |
206 ":google_play_services_auth_java", | 206 ":google_play_services_auth_java", |
207 ":google_play_services_base_java", | 207 ":google_play_services_base_java", |
208 ":google_play_services_basement_java", | 208 ":google_play_services_basement_java", |
209 ":google_play_services_cast_java", | 209 ":google_play_services_cast_java", |
210 ":google_play_services_gcm_java", | 210 ":google_play_services_gcm_java", |
211 ":google_play_services_iid_java", | 211 ":google_play_services_iid_java", |
| 212 ":google_play_services_location_java", |
212 ":google_play_services_nearby_java", | 213 ":google_play_services_nearby_java", |
213 ":google_play_services_vision_java", | 214 ":google_play_services_vision_java", |
214 ] | 215 ] |
215 } | 216 } |
216 | 217 |
217 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. | 218 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. |
218 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog
le/android/gms" | 219 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog
le/android/gms" |
219 gms_version = "10.2.0" | 220 gms_version = "10.2.0" |
220 | 221 |
221 android_aar_prebuilt("google_play_services_basement_java") { | 222 android_aar_prebuilt("google_play_services_basement_java") { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 deps = [ | 294 deps = [ |
294 ":google_play_services_base_java", | 295 ":google_play_services_base_java", |
295 ":google_play_services_basement_java", | 296 ":google_play_services_basement_java", |
296 ":google_play_services_iid_java", | 297 ":google_play_services_iid_java", |
297 ] | 298 ] |
298 _lib_name = "play-services-gcm" | 299 _lib_name = "play-services-gcm" |
299 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 300 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
300 ignore_manifest = true | 301 ignore_manifest = true |
301 } | 302 } |
302 | 303 |
| 304 android_aar_prebuilt("google_play_services_location_java") { |
| 305 deps = [ |
| 306 ":google_play_services_base_java", |
| 307 ":google_play_services_basement_java", |
| 308 ] |
| 309 _lib_name = "play-services-location" |
| 310 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
| 311 ignore_manifest = true |
| 312 } |
| 313 |
303 android_aar_prebuilt("google_play_services_nearby_java") { | 314 android_aar_prebuilt("google_play_services_nearby_java") { |
304 deps = [ | 315 deps = [ |
305 ":google_play_services_base_java", | 316 ":google_play_services_base_java", |
306 ":google_play_services_basement_java", | 317 ":google_play_services_basement_java", |
307 ] | 318 ] |
308 _lib_name = "play-services-nearby" | 319 _lib_name = "play-services-nearby" |
309 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 320 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
310 ignore_manifest = true | 321 ignore_manifest = true |
311 } | 322 } |
312 | 323 |
313 android_aar_prebuilt("google_play_services_vision_java") { | 324 android_aar_prebuilt("google_play_services_vision_java") { |
314 deps = [ | 325 deps = [ |
315 ":google_play_services_base_java", | 326 ":google_play_services_base_java", |
316 ":google_play_services_basement_java", | 327 ":google_play_services_basement_java", |
317 ] | 328 ] |
318 _lib_name = "play-services-vision" | 329 _lib_name = "play-services-vision" |
319 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 330 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
320 ignore_manifest = true | 331 ignore_manifest = true |
321 } | 332 } |
OLD | NEW |