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/437710
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@google.com>
changes/10/437710/3
bsheedy 8 years ago committed by Commit Bot
parent fd239befb2
commit 692edc1b72

@ -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',

Loading…
Cancel
Save