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

Issue 605653003: Generate a single srcjar as output in of the Java mojom generator. (Closed)

Created:
6 years, 2 months ago by ppi
Modified:
6 years, 2 months ago
Reviewers:
viettrungluu, qsr
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Generate a single srcjar as output in of the Java mojom generator. The output java files are zipped into a srcjar archive. This is needed for Java mojom bindings target support in the GN build. One can still pass the existing --java_output_directory flag to get the uncompressed java files. BUG=417289 Committed: https://crrev.com/a05fccef956512bd0ac324ed3e2e54c94b09b0db Cr-Commit-Position: refs/heads/master@{#297001}

Patch Set 1 #

Patch Set 2 : Generate the java files in a temporary directory if --java_srcjar is set. #

Total comments: 1

Patch Set 3 : Rebase. #

Patch Set 4 : Make srcjar the default output. #

Total comments: 13

Patch Set 5 : Address Ben's comments. #

Patch Set 6 : Address further comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -13 lines) Patch
M mojo/public/tools/bindings/generators/mojom_java_generator.py View 1 2 3 4 5 4 chunks +47 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
ppi
ptal, do you think we should be deleting the zipped output?
6 years, 2 months ago (2014-09-25 16:02:55 UTC) #2
ppi
Uploaded patch set 2. Now when --java_srcjar is set, we generate the java files in ...
6 years, 2 months ago (2014-09-25 18:16:49 UTC) #3
qsr
https://codereview.chromium.org/605653003/diff/60001/mojo/public/tools/bindings/generators/mojom_java_generator.py File mojo/public/tools/bindings/generators/mojom_java_generator.py (right): https://codereview.chromium.org/605653003/diff/60001/mojo/public/tools/bindings/generators/mojom_java_generator.py#newcode357 mojo/public/tools/bindings/generators/mojom_java_generator.py:357: import shutil import should not be local. https://codereview.chromium.org/605653003/diff/60001/mojo/public/tools/bindings/generators/mojom_java_generator.py#newcode364 mojo/public/tools/bindings/generators/mojom_java_generator.py:364: ...
6 years, 2 months ago (2014-09-26 15:57:13 UTC) #4
viettrungluu
Can't this be as a separate step, outside of the mojom generator? Currently the mojom ...
6 years, 2 months ago (2014-09-26 16:05:48 UTC) #6
ppi
Thanks Ben, ptal. Trung, thanks for the heads up! In this case the content of ...
6 years, 2 months ago (2014-09-26 16:12:17 UTC) #7
qsr
lgtm
6 years, 2 months ago (2014-09-26 16:25:23 UTC) #8
qsr
On 2014/09/26 16:05:48, viettrungluu wrote: > Can't this be as a separate step, outside of ...
6 years, 2 months ago (2014-09-26 16:34:42 UTC) #9
ppi
On 2014/09/26 16:34:42, qsr wrote: > This change allows to have predictable output > for ...
6 years, 2 months ago (2014-09-26 18:27:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605653003/100001
6 years, 2 months ago (2014-09-26 18:31:05 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001) as b8f980231eb7c439bfd5018f07dcab42ccf754e3
6 years, 2 months ago (2014-09-26 19:21:50 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 19:23:08 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a05fccef956512bd0ac324ed3e2e54c94b09b0db
Cr-Commit-Position: refs/heads/master@{#297001}

Powered by Google App Engine
This is Rietveld 408576698