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

Side by Side Diff: build/android/download_doclava.py

Issue 1557233003: Download doclava when building for Android and use to build cronet Javadocs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update copyright date Created 4 years, 10 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') | components/cronet/android/api/build.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """Minimal tool to download doclava from Google storage when building for
7 Android."""
8
9 import os
10 import subprocess
11 import sys
12
13
14 def main():
15 if 'OS=android' not in os.environ.get('GYP_DEFINES', ''):
mikecase (-- gone --) 2016/02/29 16:35:15 Not sure if this approach will work after everythi
pauljensen 2016/02/29 18:48:10 I don't know when Cronet is switching to GN; I thi
agrieve 2016/03/01 01:18:45 There's some relevant discussion in this bug: http
pauljensen 2016/03/17 14:05:10 Done.
16 return 0
17 subprocess.check_call([
18 'download_from_google_storage',
19 '--no_resume',
20 '--no_auth',
21 '--bucket', 'chromium-doclava',
22 '--extract',
23 '-s', 'src/buildtools/android/doclava.tar.gz.sha1'])
24 return 0
25
26 if __name__ == '__main__':
27 sys.exit(main())
OLDNEW
« no previous file with comments | « DEPS ('k') | components/cronet/android/api/build.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698