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

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

Issue 1648533002: [mojo] Get rid of Skia type converters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native-arrays
Patch Set: fix ios gyp; proper pickle sizing Created 4 years, 11 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
Index: mojo/public/tools/bindings/mojom_get_generator_typemap_args.py
diff --git a/mojo/public/tools/bindings/mojom_get_generator_typemap_args.py b/mojo/public/tools/bindings/mojom_get_generator_typemap_args.py
new file mode 100755
index 0000000000000000000000000000000000000000..32eb1ea87850a286e86282248798e9781b473859
--- /dev/null
+++ b/mojo/public/tools/bindings/mojom_get_generator_typemap_args.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import sys
+
+
+# This unfortunate little utility is needed by GYP to intersperse "--typemap"
+# flags before each entry in a list of typemaps. The resulting argument list
+# can then be fed to the bindings generator.
+
+
+def main():
+ for filename in sys.argv[1:]:
+ print "--typemap"
+ print filename
+
+
+if __name__ == "__main__":
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698