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

Unified Diff: mojo/public/bindings/mojom_bindings_generator.py

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing gypi file Created 7 years, 1 month 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/bindings/mojom_bindings_generator.py
diff --git a/mojo/public/bindings/mojo_idl.py b/mojo/public/bindings/mojom_bindings_generator.py
similarity index 94%
rename from mojo/public/bindings/mojo_idl.py
rename to mojo/public/bindings/mojom_bindings_generator.py
index 567adf7113c414e78c71ad893e54d5e3df427124..4039972e187b6da2040a9e27545363071c3359ea 100755
--- a/mojo/public/bindings/mojo_idl.py
+++ b/mojo/public/bindings/mojom_bindings_generator.py
@@ -27,6 +27,9 @@ def Main():
parser.print_help()
sys.exit(1)
+ if not os.path.exists(options.output_dir):
+ os.makedirs(options.output_dir)
+
for filename in args:
name = os.path.splitext(os.path.basename(filename))[0]
# TODO(darin): There's clearly too many layers of translation here! We can

Powered by Google App Engine
This is Rietveld 408576698