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

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

Issue 2562923002: Use sdk summaries in front_end/kernel_generator. (Closed)
Patch Set: lint: dartfmt Created 4 years 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
« no previous file with comments | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 /// evaluation. 90 /// evaluation.
91 Map<String, String> declaredVariables; 91 Map<String, String> declaredVariables;
92 92
93 /// The [FileSystem] which should be used by the front end to access files. 93 /// The [FileSystem] which should be used by the front end to access files.
94 /// 94 ///
95 /// All file system access performed by the front end goes through this 95 /// All file system access performed by the front end goes through this
96 /// mechanism, with one exception: if no value is specified for 96 /// mechanism, with one exception: if no value is specified for
97 /// [packagesFilePath], the packages file is located using the actual physical 97 /// [packagesFilePath], the packages file is located using the actual physical
98 /// file system. TODO(paulberry): fix this. 98 /// file system. TODO(paulberry): fix this.
99 FileSystem fileSystem = PhysicalFileSystem.instance; 99 FileSystem fileSystem = PhysicalFileSystem.instance;
100
101 /// Whether to generate code for the SDK when compiling a whole-program.
102 bool compileSdk = false;
103
104 /// Whether a modular build compiles only the files listed explicitly or if it
105 /// compiles dependencies as well.
106 ///
107 /// This option is intended only for modular APIs like `kernelForBuildUnit`.
108 /// These APIs by default ensure that builds are hermetic, where all files
109 /// that will be compiled are listed explicitly and all other dependencies
110 /// are covered by summary files.
111 ///
112 /// When this option is true, these APIs will treat any dependency that is
113 /// not described in a summary as if it was explictly listed as an input.
114 bool chaseDependencies = false;
115
116 /// Whether to intepret Dart sources in strong-mode.
117 bool strongMode = true;
100 } 118 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698