Added leanback support libraries as dependencies

Test: Rebuilt and deployed app to fugu

BUG=Internal b/31223668

Resubmit of https://codereview.chromium.org/2772253005 because I submitted from the wrong repo

Review-Url: https://codereview.chromium.org/2792173002
Cr-Original-Commit-Position: refs/heads/master@{#461800}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cd49590a296f0f2a28325672a03a9d512b03587b
This commit is contained in:
sandv 2017-04-04 12:23:21 -07:00 коммит произвёл Commit bot
Родитель 7b2da500be
Коммит 577fdd2f4d
1 изменённых файлов: 38 добавлений и 8 удалений

46
secondary/third_party/android_tools/BUILD.gn поставляемый
Просмотреть файл

@ -155,6 +155,44 @@ android_aar_prebuilt("android_support_v7_recyclerview_java") {
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
android_aar_prebuilt("android_support_v7_preference_java") {
deps = [
":android_support_v7_appcompat_java",
]
_lib_name = "preference-v7"
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
android_aar_prebuilt("android_support_v14_preference_java") {
deps = [
":android_support_v7_preference_java",
]
_lib_name = "preference-v14"
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
android_aar_prebuilt("android_support_v17_leanback_java") {
deps = [
":android_support_v4_java",
":android_support_v7_recyclerview_java",
]
_lib_name = "leanback-v17"
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
android_aar_prebuilt("android_support_v17_preference_java") {
deps = [
":android_support_v14_preference_java",
":android_support_v17_leanback_java",
":android_support_v4_java",
":android_support_v7_appcompat_java",
":android_support_v7_preference_java",
":android_support_v7_recyclerview_java",
]
_lib_name = "preference-leanback-v17"
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
# TODO(dgn): Remove this once no other target has a dependency on it
java_group("google_play_services_default_resources") {
deps = []
@ -176,14 +214,6 @@ java_group("google_play_services_default_java") {
]
}
android_aar_prebuilt("android_support_v17_leanback_java") {
deps = [
":android_support_v7_recyclerview_java",
]
_lib_name = "leanback-v17"
aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar"
}
# TODO(jbudorick): Remove this once net_java_test_support no longer needs it.
android_java_prebuilt("legacy_http_javalib") {
testonly = true