ec0445ae79
Add a simple implementation that throws out all libraries and runs the main method again which triggers all libraries to be initialized with fresh values. Move the hot reload tests to the ddc canary test configuration since that is where the support works at this time. Update frontend server to use the use the new version of the DDC LibraryCompiler when the emit library bundle option is true. Change-Id: I6eba613106672536ef8bfcb0ff0a55749e2fb63c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381902 Reviewed-by: Kevin Moore <kevmoo@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
15 lines
839 B
Dart
15 lines
839 B
Dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// The dev_compiler does not have a publishable public API, instead this is
|
|
// intended for other consumers within the Dart SDK.
|
|
export 'src/compiler/module_builder.dart'
|
|
show ModuleFormat, parseModuleFormat, libraryUriToJsIdentifier;
|
|
export 'src/compiler/shared_command.dart' show SharedCompilerOptions;
|
|
export 'src/kernel/command.dart' show jsProgramToCode;
|
|
export 'src/kernel/compiler.dart' show Compiler, ProgramCompiler;
|
|
export 'src/kernel/compiler_new.dart' show LibraryBundleCompiler;
|
|
export 'src/kernel/expression_compiler.dart' show ExpressionCompiler;
|
|
export 'src/kernel/target.dart' show DevCompilerTarget;
|