GN: add the Android support v17 leanback library target

BUG=592801

Review URL: https://codereview.chromium.org/1772133002

Cr-Original-Commit-Position: refs/heads/master@{#380485}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ef2d22bd27a89ccbad09a068182164a14d75fb3
This commit is contained in:
tsunghung 2016-03-10 15:09:03 -08:00 коммит произвёл Commit bot
Родитель 945f8cd588
Коммит 985b620278
1 изменённых файлов: 15 добавлений и 0 удалений

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

@ -122,6 +122,21 @@ android_java_prebuilt("google_play_services_default_java") {
jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/google-play-services_lib/libs/google-play-services.jar"
}
android_resources("android_support_v17_leanback_resources") {
v14_skip = true
resource_dirs =
[ "$android_sdk_root/extras/android/support/v17/leanback/res" ]
custom_package = "android.support.v17.leanback"
}
android_java_prebuilt("android_support_v17_leanback_java") {
deps = [
":android_support_v17_leanback_resources",
":android_support_v7_recyclerview_java",
]
jar_path = "$android_sdk_root/extras/android/support/v17/leanback/libs/android-support-v17-leanback.jar"
}
# TODO(jbudorick): Remove this once net_java_test_support no longer needs it.
android_java_prebuilt("legacy_http_javalib") {
jar_path = "$android_sdk/optional/org.apache.http.legacy.jar"