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

Issue 11339013: Android: passes a list of qualified JNI parameters as a param to the generator. (Closed)

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

Description

Android: passes a list of qualified JNI parameters as a param to the generator. Instead of hardcoding the list of qualified JNI parameters, pass it as a parameter so that different modules can inject their classes. This is the first step in such decoupling; follow up will start splitting the class_list.jni list closer to their modules. BUG=158722 TEST=jni_generator_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165250

Patch Set 1 : Patch #

Patch Set 2 : Rebase #

Total comments: 6

Patch Set 3 : Comments #

Patch Set 4 : Upload from new tree #

Patch Set 5 : Rebase from new tree #

Total comments: 6

Patch Set 6 : Yaron's and Nico's comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -220 lines) Patch
A base/android/jni_generator/class_list.jni View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
M base/android/jni_generator/jni_generator.py View 1 2 3 4 5 12 chunks +149 lines, -183 lines 2 comments Download
M base/android/jni_generator/jni_generator_tests.py View 1 2 3 4 5 21 chunks +42 lines, -37 lines 0 comments Download
M build/jni_generator.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/android/class_list.jni View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
bulach
small step towards decoupling the trees, ptal
8 years, 1 month ago (2012-10-29 14:21:04 UTC) #1
Yaron
lgtm http://codereview.chromium.org/11339013/diff/4002/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11339013/diff/4002/base/android/jni_generator/jni_generator.py#newcode25 base/android/jni_generator/jni_generator.py:25: APP_PARAM_LIST = [] Nit: don't shorten. Call it ...
8 years, 1 month ago (2012-10-29 17:49:18 UTC) #2
bulach
thanks yaron! all comments addressed, another quick look please? http://codereview.chromium.org/11339013/diff/4002/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11339013/diff/4002/base/android/jni_generator/jni_generator.py#newcode25 base/android/jni_generator/jni_generator.py:25: ...
8 years, 1 month ago (2012-10-29 18:57:06 UTC) #3
Yaron
lgtm chrome/DEPS has +ui and there are ui includes all over chrome. I think it's ...
8 years, 1 month ago (2012-10-29 20:28:17 UTC) #4
bulach
+thakis for OWNERS in chrome/chrome_browser.gypi thanks yaron! I'm preparing the follow ups on the other ...
8 years, 1 month ago (2012-10-30 12:51:42 UTC) #5
Yaron
We should also update the jni generator wiki page to mention the new override format ...
8 years, 1 month ago (2012-10-30 19:42:36 UTC) #6
Nico
It'd be cool if the CL description mentioned what this will be used for? http://codereview.chromium.org/11339013/diff/7008/base/android/jni_generator/class_list.jni ...
8 years, 1 month ago (2012-10-30 19:47:35 UTC) #7
bulach
thanks all! another look please? http://codereview.chromium.org/11339013/diff/7008/base/android/jni_generator/class_list.jni File base/android/jni_generator/class_list.jni (right): http://codereview.chromium.org/11339013/diff/7008/base/android/jni_generator/class_list.jni#newcode9 base/android/jni_generator/class_list.jni:9: # directories. On 2012/10/30 ...
8 years, 1 month ago (2012-10-31 10:17:02 UTC) #8
Nico
lgtm http://codereview.chromium.org/11339013/diff/20001/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11339013/diff/20001/base/android/jni_generator/jni_generator.py#newcode113 base/android/jni_generator/jni_generator.py:113: _external_param_list = [] Meh, that's still global state. ...
8 years, 1 month ago (2012-10-31 17:41:28 UTC) #9
Yaron
lgtm
8 years, 1 month ago (2012-10-31 17:43:54 UTC) #10
bulach
thanks nico! quick question below: http://codereview.chromium.org/11339013/diff/20001/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11339013/diff/20001/base/android/jni_generator/jni_generator.py#newcode113 base/android/jni_generator/jni_generator.py:113: _external_param_list = [] On ...
8 years, 1 month ago (2012-10-31 17:53:10 UTC) #11
Nico
On Wed, Oct 31, 2012 at 10:53 AM, <bulach@chromium.org> wrote: > thanks nico! quick question ...
8 years, 1 month ago (2012-10-31 18:15:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11339013/20001
8 years, 1 month ago (2012-10-31 18:25:05 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-10-31 22:58:17 UTC) #14
Change committed as 165250

Powered by Google App Engine
This is Rietveld 408576698