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

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

Issue 2553973004: remove DDC --build-root option (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 | « no previous file | 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 221e7d4f46c4f4f7a2c5b7055242f70ee288cd36..878070fbc1efc8077740289bfe36eee8422c9cc2 100644
--- a/pkg/dev_compiler/lib/src/compiler/command.dart
+++ b/pkg/dev_compiler/lib/src/compiler/command.dart
@@ -24,9 +24,7 @@ final ArgParser _argParser = () {
'Generated module paths are relative to this root.')
..addOption('library-root',
help: 'Root of source files.\n'
- 'Generated library names are relative to this root.')
- ..addOption('build-root',
- help: 'Deprecated in favor of --library-root', hide: true);
+ 'Generated library names are relative to this root.');
addModuleFormatOptions(argParser, allowMultiple: true);
AnalyzerOptions.addArguments(argParser);
CompilerOptions.addArguments(argParser);
@@ -125,7 +123,6 @@ void _compile(ArgResults argResults, Map<String, String> declaredVars,
var firstOutPath = outPaths[0];
var libraryRoot = argResults['library-root'] as String;
- libraryRoot ??= argResults['build-root'] as String;
if (libraryRoot != null) {
libraryRoot = path.absolute(libraryRoot);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698