mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
At present there is a special case in Dart bindings generation which makes the Mojo SDK and things under mojo/services portable. However, we must not require things under mojo/services to be next to the Mojo SDK under mojo/public/... in client repos. Further, other collections of mojoms should also be portable. To fix this, instead of using the path in the host repo as the canonical package: import URI for the generated Dart code, this CL uses the mojom module name. BUG=https://github.com/domokit/mojo/issues/73 R=blundell@chromium.org, johnmccutchan@google.com, tonyg@chromium.org Review URL: https://codereview.chromium.org/1071693003