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

Issue 1557233003: Download doclava when building for Android and use to build cronet Javadocs (Closed)

Created:
4 years, 11 months ago by pauljensen
Modified:
4 years, 8 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, mikecase+watch_chromium.org, yfriedman+watch_chromium.org, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Use doclava to build Cronet Javadocs During "gclient runhooks", download doclava from Google Storage when building for Android. Switching to doclava allows using the @hide tag instead of the @deprecated tag which leads to build warnings. Doclava does not have a nodeprecated option so deprecated types are @hide'd. BUG=539519 Committed: https://crrev.com/62bd31bc7e6d863e87e167e4a6701b64cf584a54 Cr-Commit-Position: refs/heads/master@{#386077} Committed: https://crrev.com/657cf55ea4d2e793438148116c2bdd959a7b85bf Cr-Commit-Position: refs/heads/master@{#387656}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : sync #

Patch Set 4 : work around checkstyle bug #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : update copyright date #

Total comments: 4

Patch Set 7 : switch from GYP_DEFINES to path existence #

Patch Set 8 : sync #

Total comments: 2

Patch Set 9 : use os.path.join #

Patch Set 10 : avoid downloading on windows #

Patch Set 11 : separate download and extract steps #

Total comments: 2

Patch Set 12 : revert back to Patch Set 10 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -73 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
A build/android/download_doclava.py View 1 2 3 4 5 6 7 8 9 11 1 chunk +39 lines, -0 lines 0 comments Download
M components/cronet/android/api/build.xml View 1 2 3 4 2 chunks +12 lines, -6 lines 0 comments Download
D components/cronet/android/api/package-list View 1 chunk +0 lines, -14 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/CronetEngine.java View 1 2 3 4 5 6 7 21 chunks +32 lines, -38 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java View 1 2 chunks +2 lines, -3 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java View 1 2 chunks +2 lines, -3 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/UrlRequest.java View 1 2 3 4 5 6 7 8 chunks +7 lines, -6 lines 0 comments Download
M components/cronet/tools/generate_javadoc.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 89 (25 generated)
pauljensen
Helen, PTAL.
4 years, 10 months ago (2016-02-12 15:34:09 UTC) #3
xunjieli
Awesome work. Great that we are finally having the support. I have a few questions ...
4 years, 10 months ago (2016-02-12 19:14:43 UTC) #4
pauljensen
https://codereview.chromium.org/1557233003/diff/80001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/80001/build/android/download_doclava.py#newcode2 build/android/download_doclava.py:2: # Copyright 2014 The Chromium Authors. All rights reserved. ...
4 years, 10 months ago (2016-02-12 19:20:59 UTC) #5
xunjieli
Tried patching your CL, but it failed at the gclient runhooks step with the error ...
4 years, 10 months ago (2016-02-12 19:58:38 UTC) #6
pauljensen
On 2016/02/12 19:58:38, xunjieli wrote: > Tried patching your CL, but it failed at the ...
4 years, 10 months ago (2016-02-12 20:23:39 UTC) #7
xunjieli
On 2016/02/12 20:23:39, pauljensen wrote: > On 2016/02/12 19:58:38, xunjieli wrote: > > Tried patching ...
4 years, 10 months ago (2016-02-12 20:50:08 UTC) #8
pauljensen
On 2016/02/12 20:50:08, xunjieli wrote: > On 2016/02/12 20:23:39, pauljensen wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 21:08:10 UTC) #9
pauljensen
I should mention that the doclava generated HTML doesn't look very pleasant. If you apply ...
4 years, 10 months ago (2016-02-15 01:41:34 UTC) #10
xunjieli
On 2016/02/15 01:41:34, pauljensen wrote: > I should mention that the doclava generated HTML doesn't ...
4 years, 10 months ago (2016-02-16 15:38:03 UTC) #11
pauljensen
On 2016/02/16 15:38:03, xunjieli wrote: > On 2016/02/15 01:41:34, pauljensen wrote: > > I should ...
4 years, 10 months ago (2016-02-16 18:37:40 UTC) #12
xunjieli
On 2016/02/16 18:37:40, pauljensen wrote: > On 2016/02/16 15:38:03, xunjieli wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-16 23:12:03 UTC) #13
pauljensen
On 2016/02/16 23:12:03, xunjieli wrote: > On 2016/02/16 18:37:40, pauljensen wrote: > > On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 03:24:43 UTC) #14
xunjieli
On 2016/02/17 03:24:43, pauljensen wrote: > On 2016/02/16 23:12:03, xunjieli wrote: > > On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 14:44:47 UTC) #15
pauljensen
Mike, PTAL @ build/android/download_doclava.py
4 years, 9 months ago (2016-02-25 15:40:02 UTC) #17
pauljensen
On 2016/02/25 15:40:02, pauljensen (OOO until Mar 16) wrote: > Mike, PTAL @ build/android/download_doclava.py Mike, ...
4 years, 9 months ago (2016-02-27 08:21:24 UTC) #18
mikecase (-- gone --)
https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py#newcode15 build/android/download_doclava.py:15: if 'OS=android' not in os.environ.get('GYP_DEFINES', ''): Not sure if ...
4 years, 9 months ago (2016-02-29 16:35:15 UTC) #19
pauljensen
https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py#newcode15 build/android/download_doclava.py:15: if 'OS=android' not in os.environ.get('GYP_DEFINES', ''): On 2016/02/29 16:35:15, ...
4 years, 9 months ago (2016-02-29 18:48:10 UTC) #20
mikecase (-- gone --)
+agrieve He's done lots with GN and should know how to determine if the OS=android ...
4 years, 9 months ago (2016-02-29 19:32:47 UTC) #22
agrieve
https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py#newcode15 build/android/download_doclava.py:15: if 'OS=android' not in os.environ.get('GYP_DEFINES', ''): On 2016/02/29 18:48:10, ...
4 years, 9 months ago (2016-03-01 01:18:45 UTC) #23
pauljensen
Mike, PTAL, thank you! https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/100001/build/android/download_doclava.py#newcode15 build/android/download_doclava.py:15: if 'OS=android' not in os.environ.get('GYP_DEFINES', ...
4 years, 9 months ago (2016-03-17 14:05:10 UTC) #24
pauljensen
Mike, friendly ping.
4 years, 9 months ago (2016-03-21 18:18:15 UTC) #25
mikecase (-- gone --)
lgtm
4 years, 9 months ago (2016-03-21 18:29:29 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/120001
4 years, 9 months ago (2016-03-23 11:22:17 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/176450) ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-23 11:23:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/140001
4 years, 9 months ago (2016-03-23 12:14:51 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/121438)
4 years, 9 months ago (2016-03-23 12:30:47 UTC) #36
pauljensen
agrieve,mikecase: It appears the win8_chromium_ng and win_chromium_rel_ng bots have third_party/android_tools directories. Should this be fixed ...
4 years, 9 months ago (2016-03-23 14:11:00 UTC) #37
pauljensen
On 2016/03/23 14:11:00, pauljensen wrote: > agrieve,mikecase: It appears the win8_chromium_ng and win_chromium_rel_ng bots > ...
4 years, 8 months ago (2016-03-28 13:29:19 UTC) #38
pauljensen
On 2016/03/28 13:29:19, pauljensen wrote: > On 2016/03/23 14:11:00, pauljensen wrote: > > agrieve,mikecase: It ...
4 years, 8 months ago (2016-03-30 11:50:25 UTC) #39
pauljensen
On 2016/03/30 11:50:25, pauljensen wrote: > On 2016/03/28 13:29:19, pauljensen wrote: > > On 2016/03/23 ...
4 years, 8 months ago (2016-04-04 13:21:41 UTC) #40
pauljensen
+jbudorick as I haven't got a response in 2 weeks from mikecase or agrieve. John, ...
4 years, 8 months ago (2016-04-05 17:50:39 UTC) #42
agrieve
On 2016/04/05 17:50:39, pauljensen wrote: > +jbudorick as I haven't got a response in 2 ...
4 years, 8 months ago (2016-04-05 18:10:31 UTC) #43
jbudorick
On 2016/04/05 17:50:39, pauljensen wrote: > +jbudorick as I haven't got a response in 2 ...
4 years, 8 months ago (2016-04-05 18:20:37 UTC) #44
pauljensen
So both re-runs today of the windows bots got past the runhooks step... :/ weird. ...
4 years, 8 months ago (2016-04-05 18:49:36 UTC) #45
agrieve
On 2016/04/05 18:49:36, pauljensen wrote: > So both re-runs today of the windows bots got ...
4 years, 8 months ago (2016-04-05 18:52:05 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/140001
4 years, 8 months ago (2016-04-06 16:10:50 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/170314)
4 years, 8 months ago (2016-04-06 16:23:24 UTC) #50
pauljensen
agrieve, mikecase, jbudorick: so it looks like this windows bot has a third_party/android_tools directory. How ...
4 years, 8 months ago (2016-04-06 16:30:05 UTC) #51
jbudorick
On 2016/04/06 16:30:05, pauljensen wrote: > agrieve, mikecase, jbudorick: so it looks like this windows ...
4 years, 8 months ago (2016-04-06 16:33:16 UTC) #52
agrieve
On 2016/04/06 16:33:16, jbudorick wrote: > On 2016/04/06 16:30:05, pauljensen wrote: > > agrieve, mikecase, ...
4 years, 8 months ago (2016-04-06 17:16:32 UTC) #53
agrieve
On 2016/04/06 17:16:32, agrieve wrote: > On 2016/04/06 16:33:16, jbudorick wrote: > > On 2016/04/06 ...
4 years, 8 months ago (2016-04-06 17:20:21 UTC) #54
jbudorick
On 2016/04/06 17:20:21, agrieve wrote: > On 2016/04/06 17:16:32, agrieve wrote: > > On 2016/04/06 ...
4 years, 8 months ago (2016-04-06 17:24:09 UTC) #55
jbudorick
https://codereview.chromium.org/1557233003/diff/140001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/140001/build/android/download_doclava.py#newcode29 build/android/download_doclava.py:29: '-s', 'src/buildtools/android/doclava.tar.gz.sha1']) from the windows failure log, it looks ...
4 years, 8 months ago (2016-04-06 17:24:48 UTC) #56
pauljensen
https://codereview.chromium.org/1557233003/diff/140001/build/android/download_doclava.py File build/android/download_doclava.py (right): https://codereview.chromium.org/1557233003/diff/140001/build/android/download_doclava.py#newcode29 build/android/download_doclava.py:29: '-s', 'src/buildtools/android/doclava.tar.gz.sha1']) On 2016/04/06 17:24:47, jbudorick wrote: > from ...
4 years, 8 months ago (2016-04-06 18:42:34 UTC) #57
jbudorick
build/ lgtm
4 years, 8 months ago (2016-04-06 18:55:13 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/160001
4 years, 8 months ago (2016-04-07 00:21:22 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/27773) win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 8 months ago (2016-04-07 00:30:27 UTC) #63
pauljensen
Hmm two of the windows bots failed with the error below. I have no idea ...
4 years, 8 months ago (2016-04-07 19:01:49 UTC) #64
agrieve
On 2016/04/07 19:01:49, pauljensen wrote: > Hmm two of the windows bots failed with the ...
4 years, 8 months ago (2016-04-07 19:42:44 UTC) #65
pauljensen
On 2016/04/07 19:42:44, agrieve wrote: > On 2016/04/07 19:01:49, pauljensen wrote: > > Hmm two ...
4 years, 8 months ago (2016-04-08 12:03:11 UTC) #66
agrieve
On 2016/04/08 12:03:11, pauljensen wrote: > On 2016/04/07 19:42:44, agrieve wrote: > > On 2016/04/07 ...
4 years, 8 months ago (2016-04-08 13:29:21 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/180001
4 years, 8 months ago (2016-04-08 13:54:50 UTC) #70
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 8 months ago (2016-04-08 15:11:28 UTC) #72
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/62bd31bc7e6d863e87e167e4a6701b64cf584a54 Cr-Commit-Position: refs/heads/master@{#386077}
4 years, 8 months ago (2016-04-08 15:12:52 UTC) #74
pauljensen
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1868203002/ by pauljensen@chromium.org. ...
4 years, 8 months ago (2016-04-08 15:46:09 UTC) #75
pauljensen
I modified the download script to perform the tar extraction step separately from the download ...
4 years, 8 months ago (2016-04-08 19:18:14 UTC) #77
agrieve
Don't know why it wasn't working, but wonder if the fix go in download_from_google_storage? https://codereview.chromium.org/1557233003/diff/200001/build/android/download_doclava.py ...
4 years, 8 months ago (2016-04-11 17:12:57 UTC) #78
pauljensen
On 2016/04/11 17:12:57, agrieve wrote: > Don't know why it wasn't working, but wonder if ...
4 years, 8 months ago (2016-04-11 17:38:51 UTC) #79
agrieve
On 2016/04/11 17:38:51, pauljensen wrote: > On 2016/04/11 17:12:57, agrieve wrote: > > Don't know ...
4 years, 8 months ago (2016-04-11 18:25:21 UTC) #80
pauljensen
Good catch agrieve@, I've reverted this CL back to Patch Set 10, and uploaded https://codereview.chromium.org/1883563002/ ...
4 years, 8 months ago (2016-04-12 12:14:39 UTC) #81
agrieve
On 2016/04/12 12:14:39, pauljensen wrote: > Good catch agrieve@, I've reverted this CL back to ...
4 years, 8 months ago (2016-04-12 13:55:56 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557233003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557233003/220001
4 years, 8 months ago (2016-04-15 17:16:21 UTC) #85
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 8 months ago (2016-04-15 18:36:19 UTC) #87
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 18:37:53 UTC) #89
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/657cf55ea4d2e793438148116c2bdd959a7b85bf
Cr-Commit-Position: refs/heads/master@{#387656}

Powered by Google App Engine
This is Rietveld 408576698