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

Issue 1826063002: Generated dart code should import transitive imports. (Closed)

Created:
4 years, 9 months ago by azani
Modified:
4 years, 8 months ago
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

Generated dart code should import transitive imports. R=rudominer@chromium.org, zra@google.com, jeffbrown, rudominer, tonyg BUG= Committed: https://chromium.googlesource.com/external/mojo/+/efaa264666331e56e6295a1ec3a51274cf941871

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Do not include unused imports in the generated code. #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -37 lines) Patch
M mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import2.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/serialization_test_structs.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_enums.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_included_unions.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 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 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/compositor.mojom.dart View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scenes.mojom.dart View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_events.mojom.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/audio_track.mojom.dart View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_factory.mojom.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_sink.mojom.dart View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_source.mojom.dart View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surfaces.mojom.dart View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/web_socket.mojom.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/mojom_dart_generator.py View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/generator.py View 1 2 3 4 2 chunks +72 lines, -0 lines 0 comments Download
M mojo/services/ui/views/interfaces/view_provider.mojom View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
azani
4 years, 9 months ago (2016-03-23 23:22:49 UTC) #1
tonyg
Perhaps rollback my change and regenerate bindings along w/ this change?
4 years, 9 months ago (2016-03-23 23:23:34 UTC) #2
azani
I checked and it does. The one thing you might not like is that importing ...
4 years, 9 months ago (2016-03-23 23:31:04 UTC) #3
azani
Ian, I think this is of interest to you.
4 years, 9 months ago (2016-03-23 23:31:42 UTC) #5
rudominer
Zach, can you help us out with some history here. Alex is fixing a problem ...
4 years, 9 months ago (2016-03-25 18:50:58 UTC) #7
zra
On 2016/03/25 18:50:58, rudominer wrote: > Zach, can you help us out with some history ...
4 years, 9 months ago (2016-03-25 19:43:43 UTC) #8
azani
ptal
4 years, 9 months ago (2016-03-25 23:28:48 UTC) #9
zra
lgtm If it's easy to do, could you also alphabetized the imports?
4 years, 8 months ago (2016-03-28 15:37:16 UTC) #10
rudominer
lgtm. Please try to sync and re-generate and see if the changes to the serialized_runtime_type_info ...
4 years, 8 months ago (2016-03-28 16:12:42 UTC) #11
ianloic
It would be great to avoid unused imports. We're trying to keep them out of ...
4 years, 8 months ago (2016-03-28 16:16:55 UTC) #13
azani
4 years, 8 months ago (2016-03-28 20:22:19 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
efaa264666331e56e6295a1ec3a51274cf941871 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698