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

Unified Diff: mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl

Issue 1022703005: Dart: Rebase generated imports from the SDK to the SDK base directory. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
Index: mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
index 21b643ec64e46b365567219b72172c7b446f0427..d6b869e50859a7e19a5c65a2c1f5ef7384cbde0a 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
@@ -10,7 +10,7 @@ import 'package:mojo/public/dart/bindings.dart' as bindings;
import 'package:mojo/public/dart/core.dart' as core;
{%- for import in imports %}
-import 'package:{{import.module.path}}.dart' as {{import.unique_name}};
+import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}};
{%- endfor %}
{%- include "module_definition.tmpl" %}
« no previous file with comments | « mojo/public/interfaces/application/BUILD.gn ('k') | mojo/public/tools/bindings/generators/mojom_dart_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698