|
Mojo C++ bindings: add a new mode to generator to use native STL/WTF types
Users can add "use_new_wrapper_types = true" to their mojom targets to make the generator map mojom array/map/string to STL types (for chromium variant) or WTF types (for blink variant).
This CL also switches bindings tests to use the new mode
BUG= 624136
Committed: https://crrev.com/c875b8baff46f35eb650e1f837d13d8c9ea1a862
Cr-Commit-Position: refs/heads/master@{#405273}
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+991 lines, -452 lines) |
Patch |
|
M |
device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h
|
View
|
1
|
1 chunk |
+7 lines, -19 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_public.gyp
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_public.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_public_tests.gyp
|
View
|
1
|
6 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/mojom_bindings_generator.gypi
|
View
|
1
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/mojom_bindings_generator_explicit.gypi
|
View
|
1
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/BUILD.gn
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/array.h
|
View
|
1
2
|
4 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/array_traits_stl.h
|
View
|
1
2
3
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/bindings_internal.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/clone_equals_util.h
|
View
|
1
|
1 chunk |
+161 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/serialization_forward.h
|
View
|
1
|
4 chunks |
+69 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/template_util.h
|
View
|
1
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h
|
View
|
1
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/wtf_serialization.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/map.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/map_traits_stl.h
|
View
|
|
2 chunks |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/map_traits_wtf_hash_map.h
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/native_enum.h
|
View
|
1
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/e2e_perftest.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/equals_unittest.cc
|
View
|
|
2 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
View
|
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/pickle_unittest.cc
|
View
|
|
4 chunks |
+31 lines, -29 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
View
|
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
View
|
|
9 chunks |
+47 lines, -40 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
|
View
|
|
3 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/stl_converters_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/struct_unittest.cc
|
View
|
|
12 chunks |
+62 lines, -62 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/type_conversion_unittest.cc
|
View
|
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/union_unittest.cc
|
View
|
1
|
5 chunks |
+23 lines, -23 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/wtf_types_unittest.cc
|
View
|
1
|
9 chunks |
+49 lines, -45 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/wtf_array.h
|
View
|
1
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/wtf_map.h
|
View
|
1
|
3 chunks |
+3 lines, -17 lines |
0 comments
|
Download
|
|
M |
mojo/public/interfaces/bindings/tests/BUILD.gn
|
View
|
|
9 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl
|
View
|
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
View
|
1
|
6 chunks |
+84 lines, -30 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/mojom_cpp_generator.py
|
View
|
1
|
8 chunks |
+57 lines, -13 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/mojom.gni
|
View
|
1
2
3
4
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/mojom_bindings_generator.py
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 22 (7 generated)
|