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

Unified Diff: sky/tests/services/iframe-embed-vmc.sky

Issue 990493002: Make package: work like Dart expects in preparation for a Sky SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Made deploy_sdk 100x faster in the --dev-environment case 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: sky/tests/services/iframe-embed-vmc.sky
diff --git a/sky/tests/services/iframe-embed-vmc.sky b/sky/tests/services/iframe-embed-vmc.sky
index 0ef69b5d47050182a100290e06b6f25fee5f093e..de907692241277922faaaf2e92aed006853db61a 100644
--- a/sky/tests/services/iframe-embed-vmc.sky
+++ b/sky/tests/services/iframe-embed-vmc.sky
@@ -7,14 +7,17 @@ import 'dart:async';
import 'dart:sky';
import 'dart:sky.internals' as internals;
import 'dart:typed_data';
-import '/mojo/public/dart/application.dart';
import 'dart:mojo.bindings';
import 'dart:mojo.core';
+import 'package:mojo/public/dart/application.dart';
import 'package:mojo/public/interfaces/application/shell.mojom.dart' as shell_mojom;
import 'package:mojo/services/input_events/public/interfaces/input_events.mojom.dart' as input_events;
import 'package:mojo/services/view_manager/public/interfaces/view_manager.mojom.dart' as view_manager;
-import 'package:services/js/test/echo_service.mojom.dart' as echo_service_mojom;
+
+// This include is a hack which only works with sky_server. For this to work
+// in the sky_sdk, this echo_service would need to make its own dart package.
+import '/gen/services/js/test/echo_service.mojom.dart' as echo_service_mojom;
class IFrameEmbed extends Application {
IFrameEmbed.fromHandle(MojoHandle handle) : super.fromHandle(handle);

Powered by Google App Engine
This is Rietveld 408576698