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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" | 137 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
138 } | 138 } |
139 | 139 |
140 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. | 140 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. |
141 android_java_prebuilt("legacy_http_javalib") { | 141 android_java_prebuilt("legacy_http_javalib") { |
142 testonly = true | 142 testonly = true |
143 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" | 143 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" |
144 } | 144 } |
145 | 145 |
146 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. | 146 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. |
147 gms_path = "$android_sdk_root/extras/google/m2repository/com/google/android/gms" | 147 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog
le/android/gms" |
148 gms_version = "9.8.0" | 148 gms_version = "9.8.0" |
149 | 149 |
150 android_aar_prebuilt("google_play_services_basement_java") { | 150 android_aar_prebuilt("google_play_services_basement_java") { |
151 deps = [ | 151 deps = [ |
152 ":android_support_v4_java", | 152 ":android_support_v4_java", |
153 ] | 153 ] |
154 _lib_name = "play-services-basement" | 154 _lib_name = "play-services-basement" |
155 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 155 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
156 input_jars_paths = [ "$android_sdk/optional/org.apache.http.legacy.jar" ] | 156 input_jars_paths = [ "$android_sdk/optional/org.apache.http.legacy.jar" ] |
157 ignore_manifest = true | 157 ignore_manifest = true |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 android_aar_prebuilt("google_play_services_nearby_java") { | 232 android_aar_prebuilt("google_play_services_nearby_java") { |
233 deps = [ | 233 deps = [ |
234 ":google_play_services_base_java", | 234 ":google_play_services_base_java", |
235 ":google_play_services_basement_java", | 235 ":google_play_services_basement_java", |
236 ] | 236 ] |
237 _lib_name = "play-services-nearby" | 237 _lib_name = "play-services-nearby" |
238 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 238 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
239 ignore_manifest = true | 239 ignore_manifest = true |
240 } | 240 } |
OLD | NEW |