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

Side by Side Diff: pkg/front_end/lib/compiler_options.dart

Issue 2690203002: Add support for additional libraries to FE API (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | pkg/front_end/lib/kernel_generator.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698