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

Unified Diff: pkg/dev_compiler/lib/src/compiler/command.dart

Issue 2580933002: refactor DDC and Analyzer CLI parser option declaration (Closed)
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/lib/src/analyzer/context.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/command.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/command.dart b/pkg/dev_compiler/lib/src/compiler/command.dart
index c3817877b5f45cab0935033c5cb12ba0673bc06d..7ee4c5c05f9b013e655102bf11cc20b987997b20 100644
--- a/pkg/dev_compiler/lib/src/compiler/command.dart
+++ b/pkg/dev_compiler/lib/src/compiler/command.dart
@@ -5,6 +5,7 @@
import 'dart:io';
import 'package:analyzer/src/command_line/arguments.dart'
show
+ defineDDCAnalysisArguments,
extractDefinedVariables,
filterUnknownArguments,
ignoreUnrecognizedFlagsFlag;
@@ -96,6 +97,7 @@ ArgParser _argParser({bool hide: true}) {
..addOption('library-root',
help: 'Root of source files.\n'
'Generated library names are relative to this root.');
+ defineDDCAnalysisArguments(argParser, hide: hide);
addModuleFormatOptions(argParser, allowMultiple: true, hide: hide);
AnalyzerOptions.addArguments(argParser, hide: hide);
CompilerOptions.addArguments(argParser, hide: hide);
« no previous file with comments | « pkg/dev_compiler/lib/src/analyzer/context.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698