Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: build/secondary/third_party/android_tools/BUILD.gn

Issue 2458083002: ▶ Define separate variable for the sdk root used to load gmscore. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/android/config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698