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

Unified Diff: mojo/mojom_bindings_generator_explicit.gypi

Issue 2136733002: Mojo C++ bindings: add a new mode to generator to use native STL/WTF types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@67_new
Patch Set: . Created 4 years, 5 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/mojom_bindings_generator.gypi ('k') | mojo/public/cpp/bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojom_bindings_generator_explicit.gypi
diff --git a/mojo/mojom_bindings_generator_explicit.gypi b/mojo/mojom_bindings_generator_explicit.gypi
index 06e831040ae18f9b13122e90d983188402cc3476..51676e9f970a8567dd5276c06f430dea5659c1e5 100644
--- a/mojo/mojom_bindings_generator_explicit.gypi
+++ b/mojo/mojom_bindings_generator_explicit.gypi
@@ -10,8 +10,10 @@
'variables': {
'variables': {
'for_blink%': 'false',
+ 'use_new_wrapper_types%': 'false',
},
'for_blink%': 'false',
+ 'use_new_wrapper_types%': 'false',
'conditions': [
['for_blink=="true"', {
'mojom_output_languages%': 'c++',
@@ -29,11 +31,20 @@
'mojom_generator_wtf_arg%': [],
'wtf_dependencies%': [],
}],
+ ['use_new_wrapper_types=="true"', {
+ 'mojom_generator_new_wrappers_arg%': [
+ '--use_new_wrapper_types',
+ ],
+ }, {
+ 'mojom_generator_new_wrappers_arg%': [],
+ }],
],
},
'for_blink%': '<(for_blink)',
+ 'use_new_wrapper_types%': '<(use_new_wrapper_types)',
'mojom_variant%': '<(mojom_variant)',
'mojom_generator_wtf_arg%': '<(mojom_generator_wtf_arg)',
+ 'mojom_generator_new_wrappers_arg%': '<(mojom_generator_new_wrappers_arg)',
'wtf_dependencies%': '<(wtf_dependencies)',
'mojom_output_languages%': '<(mojom_output_languages)',
'mojom_typemaps%': [],
@@ -121,6 +132,7 @@
'--typemap',
'<(generated_typemap_file)',
'<@(mojom_generator_wtf_arg)',
+ '<@(mojom_generator_new_wrappers_arg)',
'--bytecode_path',
'<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings',
],
« no previous file with comments | « mojo/mojom_bindings_generator.gypi ('k') | mojo/public/cpp/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698