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

Unified Diff: mojo/public/tools/bindings/mojom_bindings_generator_v1.py

Issue 1508293004: Simplify Go's Mojom Type Generator (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trigger Trybot tests again Created 5 years 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
Index: mojo/public/tools/bindings/mojom_bindings_generator_v1.py
diff --git a/mojo/public/tools/bindings/mojom_bindings_generator_v1.py b/mojo/public/tools/bindings/mojom_bindings_generator_v1.py
index 6b455b3d54496401635272a4efd70f7a465a2a65..92b5f6700923b3b6c0d8493312e5af8af2201b4d 100755
--- a/mojo/public/tools/bindings/mojom_bindings_generator_v1.py
+++ b/mojo/public/tools/bindings/mojom_bindings_generator_v1.py
@@ -206,6 +206,11 @@ def main(argv):
help="use Python modules bundled in the SDK")
(args, remaining_args) = parser.parse_known_args(argv)
+ # These flags are added to ensure that tests requiring type information pass.
+ # TODO(afandria): The caller of this script should be the one passing these
+ # flags in. https://github.com/domokit/mojo/issues/558
rudominer 2015/12/14 21:29:57 The caller of this script is mojom_bindings_genera
+ remaining_args.append("--go_gen_types")
+
generator_modules = LoadGenerators(args.generators_string)
fileutil.EnsureDirectoryExists(args.output_dir)

Powered by Google App Engine
This is Rietveld 408576698