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

Issue 11363079: Android: uses "import" section and inner classes for obtaining qualified JNI parameters. (Closed)

Created:
8 years, 1 month ago by bulach
Modified:
8 years, 1 month ago
CC:
chromium-reviews, erikwright+watch_chromium.org, Miguel Garcia
Visibility:
Public.

Description

Android: uses "import" section and inner classes for obtaining qualified JNI parameters. Rather than explicitly listing all the parameters (see crbug.com/158722), infer almost all of them from the import section and inner classes. Assumes other classes are in the same package as a fallback. BUG=159397 TEST=base/android/jni_generator/jni_generator_tests.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166482

Patch Set 1 #

Patch Set 2 : Uses "import" section #

Total comments: 14

Patch Set 3 : Yaron's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -183 lines) Patch
M base/android/jni_generator/SampleForTests.java View 1 1 chunk +2 lines, -0 lines 0 comments Download
D base/android/jni_generator/class_list.jni View 1 1 chunk +0 lines, -53 lines 0 comments Download
M base/android/jni_generator/jni_generator.py View 1 2 11 chunks +36 lines, -76 lines 0 comments Download
M base/android/jni_generator/jni_generator_tests.py View 1 2 11 chunks +68 lines, -26 lines 0 comments Download
M build/jni_generator.gypi View 1 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/android/class_list.jni View 1 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
bulach
8 years, 1 month ago (2012-11-05 13:30:37 UTC) #1
joth
lgtm On 5 November 2012 13:30, <bulach@chromium.org> wrote: > Reviewers: John Knottenbelt, joth, > > ...
8 years, 1 month ago (2012-11-05 14:08:14 UTC) #2
John Knottenbelt
LGTM. Thanks, Marcus!
8 years, 1 month ago (2012-11-05 14:26:31 UTC) #3
bulach
sorry about the churn! thanks to joth and jknotten's ideas, this is now _much_ simpler: ...
8 years, 1 month ago (2012-11-05 19:32:56 UTC) #4
Yaron
http://codereview.chromium.org/11363079/diff/5001/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11363079/diff/5001/base/android/jni_generator/jni_generator.py#newcode123 base/android/jni_generator/jni_generator.py:123: def ExtractReferences(contents): "References" is too vague.. I had no ...
8 years, 1 month ago (2012-11-06 00:16:38 UTC) #5
bulach
thanks yaron! all comments addressed, ptal http://codereview.chromium.org/11363079/diff/5001/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11363079/diff/5001/base/android/jni_generator/jni_generator.py#newcode123 base/android/jni_generator/jni_generator.py:123: def ExtractReferences(contents): On ...
8 years, 1 month ago (2012-11-06 10:27:42 UTC) #6
John Knottenbelt
LGTM. You should update the description as the new code does deal with inner classes ...
8 years, 1 month ago (2012-11-06 12:08:07 UTC) #7
bulach
thanks john, good point! updated the title and description..
8 years, 1 month ago (2012-11-06 12:25:25 UTC) #8
Yaron
lgtm
8 years, 1 month ago (2012-11-06 18:07:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11363079/5
8 years, 1 month ago (2012-11-07 09:38:07 UTC) #10
commit-bot: I haz the power
Presubmit check for 11363079-5 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-07 09:38:11 UTC) #11
bulach
+thakis for chrome/chrome_browser.gypi
8 years, 1 month ago (2012-11-07 09:43:41 UTC) #12
Nico
lgtm
8 years, 1 month ago (2012-11-07 17:02:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11363079/5
8 years, 1 month ago (2012-11-07 17:03:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11363079/5
8 years, 1 month ago (2012-11-07 17:03:28 UTC) #15
commit-bot: I haz the power
8 years, 1 month ago (2012-11-07 19:06:53 UTC) #16
Change committed as 166482

Powered by Google App Engine
This is Rietveld 408576698