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

Unified Diff: mojom/generators/c/c_generator.go

Issue 2069943003: Mojom target for generating & building C bindings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tools/bindings/run_code_generators.py ('k') | mojom/generators/common/cli.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/generators/c/c_generator.go
diff --git a/mojom/generators/c/c_generator.go b/mojom/generators/c/c_generator.go
index 080e4a0dfcaca5ed7f055e7f57f50fa22ed09aa2..642f199c9609641a63c6e867cfd8aeec16541497 100644
--- a/mojom/generators/c/c_generator.go
+++ b/mojom/generators/c/c_generator.go
@@ -27,8 +27,8 @@ func main() {
config := common.GetCliConfig(os.Args)
common.GenerateOutput(func(fileName string, config common.GeneratorConfig) {
- headerWriter := common.OutputWriterByFilePath(fileName, config, ".mojom.c.h")
- sourceWriter := common.OutputWriterByFilePath(fileName, config, ".mojom.c")
+ headerWriter := common.OutputWriterByFilePath(fileName, config, ".mojom-c.h")
+ sourceWriter := common.OutputWriterByFilePath(fileName, config, ".mojom-c.c")
mojomFile := config.FileGraph().Files[fileName]
headerInfo := cgen.NewHeaderTemplate(config.FileGraph(), &mojomFile, config.SrcRootPath())
sourceInfo := cgen.NewSourceTemplate(config.FileGraph(), &mojomFile, config.SrcRootPath(), &headerInfo)
« no previous file with comments | « mojo/public/tools/bindings/run_code_generators.py ('k') | mojom/generators/common/cli.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698