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

Issue 1433183002: Generate Mojom Types for Dart (Closed)

Created:
5 years, 1 month ago by alexfandrianto
Modified:
5 years ago
Reviewers:
rudominer, Cutch, azani, zra
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Generate Mojom Types for Dart This commit adds mojom type information to Dart, similarly to how it was done for Go in https://codereview.chromium.org/1345263002/ The Dart Mojom Types have been generated with minor API tweaks: Proxy exposes a service description as well as the generated interface. Since Dart compilation for the Embedder is 'hacky', this CL also changes the mojom_types.mojom to use a simpler module: mojo.bindings.types => mojo This workaround needed to make it work with the Embedder hack is worse. However, once it is removed, the module name can likely be restored. Since mojo/dart/packages checks in their *.mojom.dart files, I have regenerated them all to correspond with the template changes in this CL. Further, some modifications of the generator script make it more possible to introduce a flag to toggle type generation. Related issue: https://github.com/domokit/mojo/issues/558 BUG=

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase and minor comment changes #

Patch Set 3 : Removed assert that breaks dart unit test #

Total comments: 4

Patch Set 4 : Adjust for new Dart build mechanism #

Patch Set 5 : Update all .mojom.dart files #

Patch Set 6 : Add test_included_unions to the _mojo_for_test_only package #

Total comments: 23

Patch Set 7 : Respond to Dart generator comments and Rebase #

Patch Set 8 : Simplify identifier_store for Go and Dart #

Total comments: 36
Unified diffs Side-by-side diffs Delta from patch set Stats (+36004 lines, -82 lines) Patch
M mojo/dart/packages/_mojo_for_test_only/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart View 1 2 3 4 5 6 7 16 chunks +395 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart View 1 2 3 4 5 6 7 8 chunks +162 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import2.mojom.dart View 1 2 3 4 5 6 7 4 chunks +123 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart View 1 2 3 4 5 6 7 10 chunks +166 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart View 1 2 3 4 5 6 7 5 chunks +96 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart View 1 2 3 4 5 6 7 2 chunks +57 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/serialization_test_structs.mojom.dart View 1 2 3 4 5 6 7 8 chunks +191 lines, -0 lines 0 comments Download
A mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_included_unions.mojom.dart View 1 2 3 4 5 6 7 1 chunk +133 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart View 1 2 3 4 5 6 7 30 chunks +1754 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart View 1 2 3 4 5 6 7 43 chunks +899 lines, -7 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart View 1 2 3 4 5 6 7 54 chunks +1210 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart View 1 2 3 4 5 6 7 14 chunks +297 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart View 1 2 3 4 5 6 7 40 chunks +695 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart View 1 2 3 4 5 6 7 20 chunks +456 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart View 1 2 3 4 5 6 7 28 chunks +529 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart View 1 2 3 4 5 6 7 18 chunks +753 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart View 1 2 3 4 5 6 7 7 chunks +143 lines, -0 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart View 1 2 3 4 5 6 7 16 chunks +290 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/application.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/bindings.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application.mojom.dart View 1 2 3 4 5 6 7 7 chunks +172 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart View 1 2 3 4 5 6 7 5 chunks +128 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/http_header.mojom.dart View 1 2 3 4 5 6 7 2 chunks +47 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart View 1 2 3 4 5 6 7 7 chunks +174 lines, -0 lines 0 comments Download
A mojo/dart/packages/mojo/lib/mojo/mojom_files.mojom.dart View 1 2 3 5 6 7 1 chunk +879 lines, -0 lines 0 comments Download
A mojo/dart/packages/mojo/lib/mojo/mojom_types.mojom.dart View 1 2 3 5 6 7 1 chunk +4667 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/network_error.mojom.dart View 1 2 3 4 5 6 7 2 chunks +46 lines, -0 lines 0 comments Download
A mojo/dart/packages/mojo/lib/mojo/service_describer.mojom.dart View 1 2 3 4 5 6 7 1 chunk +1289 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/service_provider.mojom.dart View 1 2 3 4 5 6 7 4 chunks +85 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart View 1 2 3 4 5 6 7 6 chunks +219 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart View 1 2 3 4 5 6 7 3 chunks +120 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart View 1 2 3 4 5 6 7 2 chunks +130 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/proxy.dart View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/stub.dart View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/sources.gni View 1 2 3 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/authentication/authentication.mojom.dart View 1 2 3 4 5 6 7 9 chunks +179 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/contacts/contacts.mojom.dart View 1 2 3 4 5 6 7 13 chunks +265 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart View 1 2 3 4 5 6 7 2 chunks +68 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart View 1 2 3 4 5 6 7 2 chunks +73 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server.mojom.dart View 1 2 3 4 5 6 7 12 chunks +228 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server_factory.mojom.dart View 1 2 3 4 5 6 7 4 chunks +100 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart View 1 2 3 4 5 6 7 5 chunks +98 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/input/input.mojom.dart View 1 2 3 4 5 6 7 9 chunks +141 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart View 1 2 3 4 5 6 7 28 chunks +589 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/animations.mojom.dart View 1 2 3 4 5 6 7 7 chunks +226 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/asset_bundle/asset_bundle.mojom.dart View 1 2 3 4 5 6 7 9 chunks +163 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart View 1 2 3 4 5 6 7 4 chunks +98 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart View 1 2 3 4 5 6 7 15 chunks +246 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/clipboard.mojom.dart View 1 2 3 4 5 6 7 11 chunks +258 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart View 1 2 3 4 5 6 7 27 chunks +548 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart View 1 2 3 4 5 6 7 4 chunks +98 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/context_provider.mojom.dart View 1 2 3 4 5 6 7 5 chunks +114 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart View 1 2 3 4 5 6 7 7 chunks +143 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/device_info.mojom.dart View 1 2 3 4 5 6 7 6 chunks +127 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart View 1 2 3 4 5 6 7 9 chunks +182 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/directory.mojom.dart View 1 2 3 4 5 6 7 18 chunks +457 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/file.mojom.dart View 1 2 3 4 5 6 7 32 chunks +843 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart View 1 2 3 4 5 6 7 5 chunks +118 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl.mojom.dart View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl_terminal.mojom.dart View 1 2 3 4 5 6 7 2 chunks +21 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/types.mojom.dart View 1 2 3 4 5 6 7 8 chunks +245 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart View 1 2 3 4 5 6 7 14 chunks +450 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart View 1 2 3 4 5 6 7 7 chunks +184 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart View 1 2 3 4 5 6 7 4 chunks +84 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart View 1 2 3 4 5 6 7 4 chunks +331 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/host_resolver.mojom.dart View 1 2 3 4 5 6 7 5 chunks +131 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart View 1 2 3 4 5 6 7 14 chunks +309 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_message.mojom.dart View 1 2 3 4 5 6 7 3 chunks +114 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart View 1 2 3 4 5 6 7 4 chunks +95 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_event_constants.mojom.dart View 1 2 3 4 5 6 7 5 chunks +148 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_events.mojom.dart View 1 2 3 4 5 6 7 4 chunks +244 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart View 1 2 3 4 5 6 7 2 chunks +547 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart View 1 2 3 4 5 6 7 2 chunks +111 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location_service.mojom.dart View 1 2 3 4 5 6 7 6 chunks +134 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart View 1 2 3 4 5 6 7 21 chunks +431 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart View 1 2 3 4 5 6 7 8 chunks +157 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart View 1 2 3 4 5 6 7 5 chunks +142 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/network_service.mojom.dart View 1 2 3 4 5 6 7 16 chunks +484 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart View 1 2 3 4 5 6 7 19 chunks +958 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/service_registry.mojom.dart View 1 2 3 4 5 6 7 4 chunks +91 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart View 1 2 3 4 5 6 7 4 chunks +76 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surface_id.mojom.dart View 1 2 3 4 5 6 7 2 chunks +45 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surfaces.mojom.dart View 1 2 3 4 5 6 7 20 chunks +495 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_bound_socket.mojom.dart View 1 2 3 4 5 6 7 7 chunks +196 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_connected_socket.mojom.dart View 1 2 3 4 5 6 7 3 chunks +55 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_server_socket.mojom.dart View 1 2 3 4 5 6 7 5 chunks +145 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal.mojom.dart View 1 2 3 4 5 6 7 12 chunks +293 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal_client.mojom.dart View 1 2 3 4 5 6 7 4 chunks +83 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart View 1 2 3 4 5 6 7 23 chunks +533 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart View 1 2 3 4 5 6 7 4 chunks +126 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart View 1 2 3 4 5 6 7 7 chunks +172 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart View 1 2 3 4 5 6 7 5 chunks +126 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart View 1 2 3 4 5 6 7 15 chunks +265 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/views.mojom.dart View 1 2 3 4 5 6 7 17 chunks +350 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader.mojom.dart View 1 2 3 4 5 6 7 11 chunks +220 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader_interceptor.mojom.dart View 1 2 3 4 5 6 7 14 chunks +295 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_response_disk_cache.mojom.dart View 1 2 3 4 5 6 7 12 chunks +281 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart View 1 2 3 4 5 6 7 49 chunks +1298 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/view_manager_constants.mojom.dart View 1 2 3 4 5 6 7 2 chunks +40 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/viewport_parameter_listener.mojom.dart View 1 2 3 4 5 6 7 4 chunks +81 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/web_socket.mojom.dart View 1 2 3 4 5 6 7 16 chunks +402 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart View 1 2 3 4 5 6 7 19 chunks +378 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/window_manager_internal.mojom.dart View 1 2 3 4 5 6 7 11 chunks +223 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart View 1 2 3 4 5 6 7 14 chunks +383 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart View 1 2 3 4 5 6 7 16 chunks +265 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart View 1 2 3 4 5 6 7 15 chunks +264 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart View 1 2 3 4 5 6 7 7 chunks +159 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/sensors/sensors.mojom.dart View 1 2 3 4 5 6 7 11 chunks +271 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/speech_recognizer/speech_recognizer.mojom.dart View 1 2 3 4 5 6 7 12 chunks +214 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart View 1 2 3 4 5 6 7 14 chunks +234 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/vsync/vsync.mojom.dart View 1 2 3 4 5 6 7 5 chunks +88 lines, -0 lines 0 comments Download
M mojo/dart/test/bindings_generation_test.dart View 1 2 3 4 5 6 7 4 chunks +309 lines, -1 line 0 comments Download
M mojo/dart/tools/presubmit/check_mojom_dart.py View 1 2 3 4 5 6 7 3 chunks +28 lines, -20 lines 4 comments Download
M mojo/public/interfaces/bindings/mojom_files.mojom View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/mojom_types.mojom View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/service_describer.mojom View 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/test_included_unions.mojom View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/enum_definition.tmpl View 5 6 7 2 chunks +8 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl View 1 2 3 4 5 6 7 3 chunks +35 lines, -1 line 4 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl View 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl View 5 6 7 1 chunk +44 lines, -3 lines 8 comments Download
A mojo/public/tools/bindings/generators/dart_templates/mojom_reference_macros.tmpl View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 5 comments Download
A mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl View 1 2 3 4 5 6 7 1 chunk +158 lines, -0 lines 4 comments Download
M mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl View 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl View 1 2 5 6 7 5 chunks +10 lines, -3 lines 4 comments Download
M mojo/public/tools/bindings/generators/go_templates/mojom_reference_macros.tmpl View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/go_templates/mojom_type_macros.tmpl View 1 2 3 4 5 6 7 3 chunks +0 lines, -7 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_dart_generator.py View 1 2 3 4 5 6 7 11 chunks +139 lines, -1 line 7 comments Download
M mojo/public/tools/bindings/generators/mojom_go_generator.py View 1 2 3 4 5 6 7 5 chunks +22 lines, -23 lines 0 comments Download
M mojo/public/tools/bindings/mojom_bindings_generator_v1.py View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
rudominer
Alex can you take a look at the test failures and see if they are ...
5 years, 1 month ago (2015-11-13 01:43:00 UTC) #3
rudominer
Alex would you please move your files from mojo/public/dart to mojo/dart/packages because of https://codereview.chromium.org/1441033002/. I ...
5 years, 1 month ago (2015-11-13 01:54:27 UTC) #4
rudominer
Just did one small pass so far. https://codereview.chromium.org/1433183002/diff/1/mojo/dart/test/bindings_generation_test.dart File mojo/dart/test/bindings_generation_test.dart (right): https://codereview.chromium.org/1433183002/diff/1/mojo/dart/test/bindings_generation_test.dart#newcode279 mojo/dart/test/bindings_generation_test.dart:279: // Now ...
5 years, 1 month ago (2015-11-13 02:18:19 UTC) #5
alexfandrianto
https://codereview.chromium.org/1433183002/diff/1/mojo/dart/test/bindings_generation_test.dart File mojo/dart/test/bindings_generation_test.dart (right): https://codereview.chromium.org/1433183002/diff/1/mojo/dart/test/bindings_generation_test.dart#newcode279 mojo/dart/test/bindings_generation_test.dart:279: // Now compare the labels to verify that the ...
5 years, 1 month ago (2015-11-13 22:11:01 UTC) #6
rudominer
Hi Alex, where are we with this patch? In my mind I'm still waiting on ...
5 years, 1 month ago (2015-11-18 16:43:49 UTC) #7
rudominer
Hi Alex, where are we with this patch? In my mind I'm still waiting on ...
5 years, 1 month ago (2015-11-18 16:43:49 UTC) #8
alexfandrianto
Yes, this has been ready. Is the convention to say PTAL? The reason I uploaded ...
5 years, 1 month ago (2015-11-18 18:39:58 UTC) #9
zra
DBC https://codereview.chromium.org/1433183002/diff/40001/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl File mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl (right): https://codereview.chromium.org/1433183002/diff/40001/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl#newcode43 mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl:43: final {{descpkg}}ServiceDescription serviceDescription = This is probably not ...
5 years, 1 month ago (2015-11-18 19:24:36 UTC) #11
alexfandrianto
We chatted offline and decided to move the serviceDescription off the abstract class and onto ...
5 years, 1 month ago (2015-11-19 23:27:23 UTC) #12
alexfandrianto
The tests are quite green now, so PTAL. Now that I'm aware, I'll look for ...
5 years, 1 month ago (2015-11-20 02:07:04 UTC) #13
azani
Thanks for taking this on Alex. first pass. Can you update the CL description to ...
5 years, 1 month ago (2015-11-20 20:17:59 UTC) #14
alexfandrianto
https://codereview.chromium.org/1433183002/diff/90001/mojo/public/interfaces/bindings/mojom_files.mojom File mojo/public/interfaces/bindings/mojom_files.mojom (right): https://codereview.chromium.org/1433183002/diff/90001/mojo/public/interfaces/bindings/mojom_files.mojom#newcode6 mojo/public/interfaces/bindings/mojom_files.mojom:6: module mojo; On 2015/11/20 20:17:59, azani wrote: > Can ...
5 years, 1 month ago (2015-11-21 03:58:34 UTC) #15
azani
https://codereview.chromium.org/1433183002/diff/90001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl File mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl (right): https://codereview.chromium.org/1433183002/diff/90001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl#newcode45 mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl:45: {%- if type|identifier|identifier_check('WriteMojomType') -%} {#- Already printed out -#} ...
5 years, 1 month ago (2015-11-21 17:06:47 UTC) #18
alexfandrianto
On 2015/11/21 17:06:47, azani wrote: > https://codereview.chromium.org/1433183002/diff/90001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl > File mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl > (right): > > https://codereview.chromium.org/1433183002/diff/90001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl#newcode45 ...
5 years, 1 month ago (2015-11-23 20:07:07 UTC) #19
alexfandrianto
On 2015/11/23 20:07:07, alexfandrianto wrote: > On 2015/11/21 17:06:47, azani wrote: > > > https://codereview.chromium.org/1433183002/diff/90001/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl ...
5 years ago (2015-11-24 02:43:20 UTC) #20
zra
Mostly questions, nits, and cleanup requests. https://codereview.chromium.org/1433183002/diff/110001/mojo/dart/tools/presubmit/check_mojom_dart.py File mojo/dart/tools/presubmit/check_mojom_dart.py (right): https://codereview.chromium.org/1433183002/diff/110001/mojo/dart/tools/presubmit/check_mojom_dart.py#newcode316 mojo/dart/tools/presubmit/check_mojom_dart.py:316: if check_for_bindings_machinery_changes(affected_files): Is ...
5 years ago (2015-11-24 17:34:44 UTC) #21
azani
Can you please split the changes to the go code generator into another CL please? ...
5 years ago (2015-11-24 20:02:02 UTC) #22
azani
On 2015/11/24 20:02:02, azani wrote: > Can you please split the changes to the go ...
5 years ago (2015-12-03 19:40:58 UTC) #23
alexfandrianto
On 2015/12/03 19:40:58, azani wrote: > On 2015/11/24 20:02:02, azani wrote: > > Can you ...
5 years ago (2015-12-03 20:00:34 UTC) #24
alexfandrianto
See the new CL: https://codereview.chromium.org/1539673003/ https://codereview.chromium.org/1433183002/diff/110001/mojo/dart/tools/presubmit/check_mojom_dart.py File mojo/dart/tools/presubmit/check_mojom_dart.py (right): https://codereview.chromium.org/1433183002/diff/110001/mojo/dart/tools/presubmit/check_mojom_dart.py#newcode316 mojo/dart/tools/presubmit/check_mojom_dart.py:316: if check_for_bindings_machinery_changes(affected_files): On 2015/11/24 ...
5 years ago (2015-12-18 01:53:19 UTC) #25
azani
Are you withdrawing that CL in favor of the "take 2" CL? If so, can ...
5 years ago (2015-12-22 14:35:14 UTC) #26
alexfandrianto
5 years ago (2015-12-22 18:20:05 UTC) #27
Message was sent while issue was closed.
On 2015/12/22 14:35:14, azani wrote:
> Are you withdrawing that CL in favor of the "take 2" CL? If so, can you close
> this one? (It's the little X in a circle on the left of "Issue" in the top
left
> corner.)

Yes, withdrawn. I'll rebase "take 2" once I submit
https://codereview.chromium.org/1508293004/

Powered by Google App Engine
This is Rietveld 408576698