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

Issue 101483003: Add a Pepper IDL generator to the JSON schema compiler. (Closed)

Created:
7 years ago by Sam McNally
Modified:
7 years ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a Pepper IDL generator to the JSON schema compiler. BUG=326867 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240297

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Total comments: 24

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -1 line) Patch
M tools/json_schema_compiler/compiler.py View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download
A tools/json_schema_compiler/ppapi_generator.py View 1 2 3 4 5 1 chunk +289 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/ppapi_generator_test.py View 1 2 1 chunk +193 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/templates/ppapi/base.template View 1 chunk +14 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/templates/ppapi/idl.template View 1 2 1 chunk +101 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/test/idl_pepper.idl View 1 2 1 chunk +93 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Sam McNally
7 years ago (2013-12-09 06:46:22 UTC) #1
not at google - send to devlin
structure lgtm, just a few nitty python comments. I didn't look at the actual code ...
7 years ago (2013-12-09 23:30:58 UTC) #2
Sam McNally
https://codereview.chromium.org/101483003/diff/100001/tools/json_schema_compiler/ppapi_generator.py File tools/json_schema_compiler/ppapi_generator.py (right): https://codereview.chromium.org/101483003/diff/100001/tools/json_schema_compiler/ppapi_generator.py#newcode20 tools/json_schema_compiler/ppapi_generator.py:20: class _PpapiGeneratorBase(object): On 2013/12/09 23:30:58, kalman wrote: > docstring ...
7 years ago (2013-12-10 09:41:15 UTC) #3
yzshen1
Thanks, Sam! This mostly looks good. https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/compiler.py#newcode42 tools/json_schema_compiler/compiler.py:42: is_ppapi_dev=False): FYI: very ...
7 years ago (2013-12-10 21:43:01 UTC) #4
yzshen1
Adding Justin who has worked on Pepper auto-gen tools. And I think we probably would ...
7 years ago (2013-12-11 01:10:34 UTC) #5
Sam McNally
https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py File tools/json_schema_compiler/ppapi_generator.py (right): https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py#newcode73 tools/json_schema_compiler/ppapi_generator.py:73: c = code.Code() On 2013/12/10 21:43:02, yzshen1 wrote: > ...
7 years ago (2013-12-11 08:02:38 UTC) #6
teravest
lgtm This looks okay to me, though I'm no expert at reading jinja2 templates. https://codereview.chromium.org/101483003/diff/160001/tools/json_schema_compiler/ppapi_generator.py ...
7 years ago (2013-12-11 16:32:57 UTC) #7
Sam McNally
https://codereview.chromium.org/101483003/diff/160001/tools/json_schema_compiler/ppapi_generator.py File tools/json_schema_compiler/ppapi_generator.py (right): https://codereview.chromium.org/101483003/diff/160001/tools/json_schema_compiler/ppapi_generator.py#newcode15 tools/json_schema_compiler/ppapi_generator.py:15: import jinja2 On 2013/12/11 16:32:57, teravest wrote: > Shouldn't ...
7 years ago (2013-12-11 22:35:19 UTC) #8
yzshen1
LGTM Thanks! https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py File tools/json_schema_compiler/ppapi_generator.py (right): https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py#newcode87 tools/json_schema_compiler/ppapi_generator.py:87: 'year': datetime.date.today().year, On 2013/12/11 08:02:38, Sam McNally ...
7 years ago (2013-12-11 22:55:35 UTC) #9
Sam McNally
https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py File tools/json_schema_compiler/ppapi_generator.py (right): https://codereview.chromium.org/101483003/diff/120001/tools/json_schema_compiler/ppapi_generator.py#newcode143 tools/json_schema_compiler/ppapi_generator.py:143: def _RegisterTypeDependency(self, type_, depender, optional, array): type_ is used ...
7 years ago (2013-12-11 23:02:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/101483003/200001
7 years ago (2013-12-11 23:04:01 UTC) #11
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=131660
7 years ago (2013-12-12 00:30:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/101483003/220001
7 years ago (2013-12-12 02:36:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/101483003/240001
7 years ago (2013-12-12 05:03:32 UTC) #14
commit-bot: I haz the power
7 years ago (2013-12-12 13:28:09 UTC) #15
Message was sent while issue was closed.
Change committed as 240297

Powered by Google App Engine
This is Rietveld 408576698