
This adds a new placeholder dart package updater in sky/packages. This is built into a snapshot and compiled into the Sky engine binary using the same mechanism as the Dart isolate. I also added a SkyHeadless class, similar to SkyView, used for running Dart code without a view.
15 lines
314 B
Dart
15 lines
314 B
Dart
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
class UpdateTask {
|
|
UpdateTask() {}
|
|
|
|
String toString() => "UpdateTask()";
|
|
}
|
|
|
|
void main() {
|
|
var x = new UpdateTask();
|
|
print("Success: $x");
|
|
}
|