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

Issue 2091493002: Switch to the new go generator in the mojo tree. (Closed)

Created:
4 years, 6 months ago by azani
Modified:
4 years, 6 months ago
Reviewers:
vardhan
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Switch to the new go generator in the mojo tree. (does not affect known clients) R=vardhan@google.com Committed: https://chromium.googlesource.com/external/mojo/+/4596c8cdcf7b91d1a5a85bfdb750873a6878aafe

Patch Set 1 #

Patch Set 2 : Fixed some bugs. #

Patch Set 3 : Fix more things. #

Total comments: 5

Patch Set 4 : Handle the case of imported user defined types. #

Patch Set 5 : Update names as suggested. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -15 lines) Patch
M mojo/public/tools/bindings/generators/mojom_go_generator.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/mojom.gni View 2 chunks +3 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/mojom_tool/bin/linux64/generators/go.sha1 View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/mojom_tool/bin/mac64/generators/go.sha1 View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/run_code_generators.py View 1 chunk +1 line, -1 line 0 comments Download
M mojom/generators/common/cli.go View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M mojom/generators/go/go_generator.go View 1 2 3 4 2 chunks +14 lines, -3 lines 0 comments Download
M mojom/generators/go/templates/templates.go View 1 1 chunk +1 line, -1 line 0 comments Download
M mojom/generators/go/templates/unions.go View 1 1 chunk +1 line, -1 line 0 comments Download
M mojom/generators/go/translator/translator.go View 1 2 3 4 chunks +15 lines, -1 line 0 comments Download
M mojom/generators/go/translator/types.go View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
azani
4 years, 6 months ago (2016-06-23 23:17:07 UTC) #3
vardhan
https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/common/cli.go File mojom/generators/common/cli.go (right): https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/common/cli.go#newcode30 mojom/generators/common/cli.go:30: func GetCustomCliConfig(args []string, flagSet *flag.FlagSet) GeneratorConfig { suggestion: maybe ...
4 years, 6 months ago (2016-06-24 01:36:07 UTC) #4
vardhan
lgtm https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/go/go_generator.go File mojom/generators/go/go_generator.go (right): https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/go/go_generator.go#newcode22 mojom/generators/go/go_generator.go:22: flagSet.BoolVar(&noGoSrc, "no-go-src", false, "Do not prepend the output ...
4 years, 6 months ago (2016-06-24 01:42:19 UTC) #5
azani
https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/common/cli.go File mojom/generators/common/cli.go (right): https://codereview.chromium.org/2091493002/diff/40001/mojom/generators/common/cli.go#newcode30 mojom/generators/common/cli.go:30: func GetCustomCliConfig(args []string, flagSet *flag.FlagSet) GeneratorConfig { On 2016/06/24 ...
4 years, 6 months ago (2016-06-24 19:21:21 UTC) #6
azani
4 years, 6 months ago (2016-06-24 19:22:13 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
4596c8cdcf7b91d1a5a85bfdb750873a6878aafe (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698