Commit 692edc1b authored by bsheedy's avatar bsheedy Committed by Commit Bot

Add gclient config option to add VR APK download to hooks

Adds the ability to only trigger the APK download hooks on bots we care
about instead of having them in the main Chromium DEPS file.

Hashes for the APKs are added in https://codereview.chromium.org/2666213002/

BUG=

Change-Id: I9fc3cadf621a954e0c2485ec16bf9d4f72c10f2f
Reviewed-on: https://chromium-review.googlesource.com/437710Reviewed-by: 's avatarJohn Budorick <jbudorick@chromium.org>
Reviewed-by: 's avatarPaweł Hajdan Jr. <phajdan.jr@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@google.com>
parent fd239bef
......@@ -597,3 +597,30 @@ def chromedriver(c):
def ndk_next(c):
c.revisions['src/third_party/android_tools/ndk'] = 'origin/next'
@config_ctx()
def android_vr_apks(c):
"""Add VR Services and Daydream Home APKs to the gclient hooks."""
c.hooks.extend([
str({
'name': 'vr_services_apks',
'pattern': '.',
'action': [
'python',
'src/build/android/update_deps/update_third_party_deps.py',
'download',
'-b', 'chrome-vr-test-apks/vr_services',
'-l', 'third_party/gvr-android-sdk/test-apks/vr_services'
],
}),
str({
'name': 'daydream_home_apks',
'pattern': '.',
'action': [
'python',
'src/build/android/update_deps/update_third_party_deps.py',
'download',
'-b', 'chrome-vr-test-apks/daydream_home',
'-l', 'third_party/gvr-android-sdk/test-apks/daydream_home'
],
})
])
......@@ -12,6 +12,7 @@ DEPS = [
TEST_CONFIGS = [
'android',
'android_bare',
'android_vr_apks',
'blink',
'boringssl',
'build_internal',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment