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

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

Issue 1828973002: Add the --build-summary-exclude-informative flag. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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') | no next file » | 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 d6e78fc53e2a43e44b2eb06130bf2328a114ef0d..028382531edf3787bec07d826be0800871bc7ed0 100644
--- a/pkg/analyzer_cli/lib/src/options.dart
+++ b/pkg/analyzer_cli/lib/src/options.dart
@@ -49,6 +49,9 @@ class CommandLineOptions {
/// analyze function bodies to use summaries during future compilation steps.
final bool buildSummaryOnlyDiet;
+ /// Whether to use exclude informative data from created summaries.
+ final bool buildSummaryExcludeInformative;
+
/// The path to output the summary when creating summaries in build mode.
final String buildSummaryOutput;
@@ -138,6 +141,8 @@ class CommandLineOptions {
buildSummaryInputs = args['build-summary-input'],
buildSummaryOnly = args['build-summary-only'],
buildSummaryOnlyDiet = args['build-summary-only-diet'],
+ buildSummaryExcludeInformative =
+ args['build-summary-exclude-informative'],
buildSummaryOutput = args['build-summary-output'],
buildSuppressExitCode = args['build-suppress-exit-code'],
dartSdkPath = args['dart-sdk'],
@@ -346,6 +351,11 @@ class CommandLineOptions {
defaultsTo: false,
negatable: false,
hide: true)
+ ..addFlag('build-summary-exclude-informative',
+ help: 'Exclude @informative information (docs, offsets, etc).',
+ defaultsTo: false,
+ negatable: false,
+ hide: true)
..addFlag('build-suppress-exit-code',
help: 'Exit with code 0 even if errors are found.',
defaultsTo: false,
« no previous file with comments | « pkg/analyzer_cli/lib/src/build_mode.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698