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

Unified Diff: mojo/public/interfaces/application/BUILD.gn

Issue 1027603002: Dart: Removes all but native calls and the handle watcher from the snapshot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hoist application interface dependence 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/interfaces/application/BUILD.gn
diff --git a/mojo/public/interfaces/application/BUILD.gn b/mojo/public/interfaces/application/BUILD.gn
index 463df5580ea631d550faa85ade3fbf914a6b8797..5b15344c5071309d650162230f4a7cafb3a10c5e 100644
--- a/mojo/public/interfaces/application/BUILD.gn
+++ b/mojo/public/interfaces/application/BUILD.gn
@@ -11,4 +11,9 @@ mojom("application") {
"service_provider.mojom",
"shell.mojom",
]
+
+ # This base dir ensures that Dart's Mojo SDK can be imported with, e.g.,
+ # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives
+ # somewhere else in the source tree.
+ base_dir = mojo_root
}
« no previous file with comments | « mojo/public/dart/src/timer_queue.dart ('k') | mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698