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

Side by Side Diff: third_party/gvr-android-sdk/test-apks/update.py

Issue 2726243002: Move VR test APK downloading behind an env var (Closed)
Patch Set: Created 3 years, 9 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 | « DEPS ('k') | 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
(Empty)
1 import os
2 import subprocess
3 import sys
4
5 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
6 DAYDREAM_DIR = os.path.abspath(os.path.join(THIS_DIR, 'daydream_home'))
7 VR_SERVICES_DIR = os.path.abspath(os.path.join(THIS_DIR, 'vr_services'))
8
9 def main():
10 if 'DOWNLOAD_VR_TEST_APKS' not in os.environ:
11 return 0
12 print subprocess.check_output(['download_from_google_storage',
Nico 2017/03/03 15:51:59 Use check_call instead of print check_output. che
13 '--bucket', 'chrome-vr-test-apks/daydream_home',
14 '-d', DAYDREAM_DIR])
15 print subprocess.check_output(['download_from_google_storage',
16 '--bucket', 'chrome-vr-test-apks/vr_services',
17 '-d', VR_SERVICES_DIR])
18 return 0
19
20 if __name__ == '__main__':
21 sys.exit(main())
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698