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

Issue 934873002: Improve CLI interface of C++ enums to Java generator (Closed)

Created:
5 years, 10 months ago by mnaganov (inactive)
Modified:
5 years, 10 months ago
Reviewers:
cjhopman
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve CLI interface of C++ enums to Java generator 1. Print error if input file doesn't have any annotated enums. 2. Convert "mandatory option" 'output_dir' into a positional argument. 3. Fix 'print_output_only' when running from command line. BUG=458562 Committed: https://crrev.com/4e3301c82c48ac22439d1b9dc34ba05a0599e3e9 Cr-Commit-Position: refs/heads/master@{#317783}

Patch Set 1 #

Patch Set 2 : Proper gn change #

Total comments: 8

Patch Set 3 : Addressed comments & rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -15 lines) Patch
M build/android/gyp/java_cpp_enum.py View 1 2 2 chunks +21 lines, -8 lines 0 comments Download
M build/android/gyp/java_cpp_enum_tests.py View 1 2 3 chunks +18 lines, -0 lines 0 comments Download
M build/android/java_cpp_enum.gypi View 1 chunk +1 line, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
mnaganov (inactive)
Hi Chris, Hope you don't mind doing a review. Marcin has left the company. I ...
5 years, 10 months ago (2015-02-17 18:07:23 UTC) #2
cjhopman
https://codereview.chromium.org/934873002/diff/20001/build/android/gyp/java_cpp_enum.py File build/android/gyp/java_cpp_enum.py (right): https://codereview.chromium.org/934873002/diff/20001/build/android/gyp/java_cpp_enum.py#newcode231 build/android/gyp/java_cpp_enum.py:231: def DoGenerate(options, output_dir_and_source_paths): extracting out bits of the list ...
5 years, 10 months ago (2015-02-17 21:38:25 UTC) #3
mnaganov (inactive)
https://codereview.chromium.org/934873002/diff/20001/build/android/gyp/java_cpp_enum.py File build/android/gyp/java_cpp_enum.py (right): https://codereview.chromium.org/934873002/diff/20001/build/android/gyp/java_cpp_enum.py#newcode231 build/android/gyp/java_cpp_enum.py:231: def DoGenerate(options, output_dir_and_source_paths): On 2015/02/17 21:38:25, cjhopman wrote: > ...
5 years, 10 months ago (2015-02-23 11:35:26 UTC) #4
cjhopman
lgtm
5 years, 10 months ago (2015-02-23 19:14:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934873002/40001
5 years, 10 months ago (2015-02-24 10:42:34 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-24 11:56:35 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 11:57:07 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4e3301c82c48ac22439d1b9dc34ba05a0599e3e9
Cr-Commit-Position: refs/heads/master@{#317783}

Powered by Google App Engine
This is Rietveld 408576698