| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library front_end.compiler_options; | 5 library front_end.compiler_options; |
| 6 | 6 |
| 7 import 'compilation_error.dart'; | 7 import 'compilation_error.dart'; |
| 8 import 'file_system.dart'; | 8 import 'file_system.dart'; |
| 9 import 'physical_file_system.dart'; | 9 import 'physical_file_system.dart'; |
| 10 | 10 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // TODO(sigmund): revisit the right layout for these options. We might want to | 120 // TODO(sigmund): revisit the right layout for these options. We might want to |
| 121 // split them out into a separate bag of options or provide factories for | 121 // split them out into a separate bag of options or provide factories for |
| 122 // common combinations of these options. | 122 // common combinations of these options. |
| 123 | 123 |
| 124 /// Patch files to apply on the core libraries for a specific target platform. | 124 /// Patch files to apply on the core libraries for a specific target platform. |
| 125 /// | 125 /// |
| 126 /// Keys on this map are expected to be `dart:*` URIs. The values can be | 126 /// Keys on this map are expected to be `dart:*` URIs. The values can be |
| 127 /// either absolute or relative URIs. Absolute URIs are read directly, while | 127 /// either absolute or relative URIs. Absolute URIs are read directly, while |
| 128 /// relative URIs are resolved from the [sdkRoot]. | 128 /// relative URIs are resolved from the [sdkRoot]. |
| 129 Map<Uri, List<Uri>> targetPatches = {}; | 129 Map<Uri, List<Uri>> targetPatches = {}; |
| 130 |
| 131 /// Additional core libraries to be loaded when building a program. |
| 132 // TODO(sigmund): delete. Ideally building a program only needs what's |
| 133 // reachable and we can use kernelForBuildUnit when creating a snapshot of the |
| 134 // SDK itself. |
| 135 List<Uri> additionalLibraries = []; |
| 130 } | 136 } |
| OLD | NEW |