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

Issue 2210633002: Modify java_cpp_enum.py to preserve comments (Closed)

Created:
4 years, 4 months ago by xunjieli
Modified:
4 years, 4 months ago
Reviewers:
agrieve
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify java_cpp_enum.py to preserve comments This CL modifies java_cpp_enum.py to preserve comments on the enums in the generated Java file. The comments are useful for developers who usually read the JavaDoc and not the C++ files. BUG=634092 Committed: https://crrev.com/ea986397d77dc45b5b272ad68d00cc6063ee6987 Cr-Commit-Position: refs/heads/master@{#410047}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 3

Patch Set 3 : break up long line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -6 lines) Patch
M build/android/gyp/java_cpp_enum.py View 1 7 chunks +27 lines, -3 lines 0 comments Download
M build/android/gyp/java_cpp_enum_tests.py View 1 2 4 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
xunjieli
PTAL?
4 years, 4 months ago (2016-08-03 19:25:51 UTC) #3
agrieve
Nice change! lgtm /w nits. https://codereview.chromium.org/2210633002/diff/20001/build/android/gyp/java_cpp_enum.py File build/android/gyp/java_cpp_enum.py (right): https://codereview.chromium.org/2210633002/diff/20001/build/android/gyp/java_cpp_enum.py#newcode182 build/android/gyp/java_cpp_enum.py:182: enum_comment = HeaderParser.single_line_comment_re.match(line).groups()[0] nit: ...
4 years, 4 months ago (2016-08-03 23:09:54 UTC) #8
xunjieli
Thanks for the review! https://codereview.chromium.org/2210633002/diff/20001/build/android/gyp/java_cpp_enum.py File build/android/gyp/java_cpp_enum.py (right): https://codereview.chromium.org/2210633002/diff/20001/build/android/gyp/java_cpp_enum.py#newcode182 build/android/gyp/java_cpp_enum.py:182: enum_comment = HeaderParser.single_line_comment_re.match(line).groups()[0] On 2016/08/03 ...
4 years, 4 months ago (2016-08-04 13:54:22 UTC) #9
xunjieli
https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py File build/android/gyp/java_cpp_enum_tests.py (right): https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py#newcode61 build/android/gyp/java_cpp_enum_tests.py:61: * This is a multiple line comment that is ...
4 years, 4 months ago (2016-08-04 14:19:31 UTC) #14
agrieve
https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py File build/android/gyp/java_cpp_enum_tests.py (right): https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py#newcode61 build/android/gyp/java_cpp_enum_tests.py:61: * This is a multiple line comment that is ...
4 years, 4 months ago (2016-08-04 16:39:39 UTC) #15
xunjieli
Thanks! https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py File build/android/gyp/java_cpp_enum_tests.py (right): https://codereview.chromium.org/2210633002/diff/40001/build/android/gyp/java_cpp_enum_tests.py#newcode61 build/android/gyp/java_cpp_enum_tests.py:61: * This is a multiple line comment that ...
4 years, 4 months ago (2016-08-04 19:34:03 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2210633002/80001
4 years, 4 months ago (2016-08-05 13:37:22 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 4 months ago (2016-08-05 13:42:00 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 13:44:29 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ea986397d77dc45b5b272ad68d00cc6063ee6987
Cr-Commit-Position: refs/heads/master@{#410047}

Powered by Google App Engine
This is Rietveld 408576698