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

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

Issue 2792173002: Added leanback support libraries as dependencies (Closed)
Patch Set: Added leanback support libraries as dependencies Created 3 years, 8 months 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 | « no previous file | 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 android_aar_prebuilt("android_support_v7_recyclerview_java") { 150 android_aar_prebuilt("android_support_v7_recyclerview_java") {
151 deps = [ 151 deps = [
152 ":android_support_v7_appcompat_java", 152 ":android_support_v7_appcompat_java",
153 ] 153 ]
154 _lib_name = "recyclerview-v7" 154 _lib_name = "recyclerview-v7"
155 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" 155 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
156 } 156 }
157 157
158 android_aar_prebuilt("android_support_v7_preference_java") {
159 deps = [
160 ":android_support_v7_appcompat_java",
161 ]
162 _lib_name = "preference-v7"
163 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
164 }
165
166 android_aar_prebuilt("android_support_v14_preference_java") {
167 deps = [
168 ":android_support_v7_preference_java",
169 ]
170 _lib_name = "preference-v14"
171 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
172 }
173
174 android_aar_prebuilt("android_support_v17_leanback_java") {
175 deps = [
176 ":android_support_v4_java",
177 ":android_support_v7_recyclerview_java",
178 ]
179 _lib_name = "leanback-v17"
180 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
181 }
182
183 android_aar_prebuilt("android_support_v17_preference_java") {
184 deps = [
185 ":android_support_v14_preference_java",
186 ":android_support_v17_leanback_java",
187 ":android_support_v4_java",
188 ":android_support_v7_appcompat_java",
189 ":android_support_v7_preference_java",
190 ":android_support_v7_recyclerview_java",
191 ]
192 _lib_name = "preference-leanback-v17"
193 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
194 }
195
158 # TODO(dgn): Remove this once no other target has a dependency on it 196 # TODO(dgn): Remove this once no other target has a dependency on it
159 java_group("google_play_services_default_resources") { 197 java_group("google_play_services_default_resources") {
160 deps = [] 198 deps = []
161 } 199 }
162 200
163 # TODO(dgn): Remove this once other targets register dependencies on only the 201 # TODO(dgn): Remove this once other targets register dependencies on only the
164 # modules they need. 202 # modules they need.
165 java_group("google_play_services_default_java") { 203 java_group("google_play_services_default_java") {
166 deps = [ 204 deps = [
167 ":google_play_services_auth_base_java", 205 ":google_play_services_auth_base_java",
168 ":google_play_services_auth_java", 206 ":google_play_services_auth_java",
169 ":google_play_services_base_java", 207 ":google_play_services_base_java",
170 ":google_play_services_basement_java", 208 ":google_play_services_basement_java",
171 ":google_play_services_cast_java", 209 ":google_play_services_cast_java",
172 ":google_play_services_gcm_java", 210 ":google_play_services_gcm_java",
173 ":google_play_services_iid_java", 211 ":google_play_services_iid_java",
174 ":google_play_services_nearby_java", 212 ":google_play_services_nearby_java",
175 ":google_play_services_vision_java", 213 ":google_play_services_vision_java",
176 ] 214 ]
177 } 215 }
178 216
179 android_aar_prebuilt("android_support_v17_leanback_java") {
180 deps = [
181 ":android_support_v7_recyclerview_java",
182 ]
183 _lib_name = "leanback-v17"
184 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
185 }
186
187 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. 217 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it.
188 android_java_prebuilt("legacy_http_javalib") { 218 android_java_prebuilt("legacy_http_javalib") {
189 testonly = true 219 testonly = true
190 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" 220 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar"
191 } 221 }
192 222
193 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. 223 # TODO(dgn): Use the POM files instead of hardcoding the dependencies.
194 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog le/android/gms" 224 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog le/android/gms"
195 gms_version = "10.2.0" 225 gms_version = "10.2.0"
196 226
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 318
289 android_aar_prebuilt("google_play_services_vision_java") { 319 android_aar_prebuilt("google_play_services_vision_java") {
290 deps = [ 320 deps = [
291 ":google_play_services_base_java", 321 ":google_play_services_base_java",
292 ":google_play_services_basement_java", 322 ":google_play_services_basement_java",
293 ] 323 ]
294 _lib_name = "play-services-vision" 324 _lib_name = "play-services-vision"
295 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" 325 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar"
296 ignore_manifest = true 326 ignore_manifest = true
297 } 327 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698