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

Unified Diff: pkg/analyzer_cli/lib/src/options.dart

Issue 2104003004: Add option "--build-summary-output-semantic" to analyzer_cli. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer_cli/lib/src/build_mode.dart ('k') | pkg/analyzer_cli/test/options_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/options.dart
diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart
index 4cd4c6c8ddbcd7af2df28891dcf44b630713b24c..3706464c41c3469e8328a3bd67f4ca88ac8f9c48 100644
--- a/pkg/analyzer_cli/lib/src/options.dart
+++ b/pkg/analyzer_cli/lib/src/options.dart
@@ -62,6 +62,10 @@ class CommandLineOptions {
/// The path to output the summary when creating summaries in build mode.
final String buildSummaryOutput;
+ /// The path to output the semantic-only summary when creating summaries in
+ /// build mode.
+ final String buildSummaryOutputSemantic;
+
/// Whether to output a summary in "fallback mode".
final bool buildSummaryFallback;
@@ -163,6 +167,7 @@ class CommandLineOptions {
buildSummaryExcludeInformative =
args['build-summary-exclude-informative'],
buildSummaryOutput = args['build-summary-output'],
+ buildSummaryOutputSemantic = args['build-summary-output-semantic'],
buildSuppressExitCode = args['build-suppress-exit-code'],
dartSdkPath = args['dart-sdk'],
dartSdkSummaryPath = args['dart-sdk-summary'],
@@ -385,8 +390,12 @@ class CommandLineOptions {
allowMultiple: true,
hide: true)
..addOption('build-summary-output',
- help: 'Specifies the path to the file where the summary information '
- 'should be written.',
+ help: 'Specifies the path to the file where the full summary '
+ 'information should be written.',
+ hide: true)
+ ..addOption('build-summary-output-semantic',
+ help: 'Specifies the path to the file where the semantic summary '
+ 'information should be written.',
hide: true)
..addFlag('build-summary-only',
help: 'Disable analysis (only generate summaries).',
@@ -404,7 +413,8 @@ class CommandLineOptions {
negatable: false,
hide: true)
..addFlag('build-summary-exclude-informative',
- help: 'Exclude @informative information (docs, offsets, etc).',
+ help: 'Exclude @informative information (docs, offsets, etc). '
+ 'Deprecated: please use --build-summary-output-semantic instead.',
defaultsTo: false,
negatable: false,
hide: true)
« no previous file with comments | « pkg/analyzer_cli/lib/src/build_mode.dart ('k') | pkg/analyzer_cli/test/options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698