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

Unified Diff: tests/compiler/dart2js/analyze_helper.dart

Issue 1401513002: Revert "Introduce the "Embedded" category." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tests/compiler/dart2js/categories_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_helper.dart
diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart
index 7d843925e29181010d6c541eb3a642dae78877f5..a91613351a6037eeb7476e46bcc7392b38aa02cc 100644
--- a/tests/compiler/dart2js/analyze_helper.dart
+++ b/tests/compiler/dart2js/analyze_helper.dart
@@ -137,7 +137,6 @@ typedef bool CheckResults(Compiler compiler,
Future analyze(List<Uri> uriList,
Map<String, List<String>> whiteList,
{bool analyzeAll: true,
- bool analyzeMain: false,
CheckResults checkResults}) {
String testFileName =
relativize(Uri.base, Platform.script, Platform.isWindows);
@@ -160,7 +159,6 @@ Future analyze(List<Uri> uriList,
var options = <String>[Flags.analyzeOnly, '--categories=Client,Server',
Flags.showPackageWarnings];
if (analyzeAll) options.add(Flags.analyzeAll);
- if (analyzeMain) options.add(Flags.analyzeMain);
var compiler = new Compiler(
provider,
null,
@@ -191,7 +189,7 @@ Future analyze(List<Uri> uriList,
exit(1);
}
}
- if (analyzeAll || analyzeMain) {
+ if (analyzeAll) {
compiler.librariesToAnalyzeWhenRun = uriList;
return compiler.run(null).then(onCompletion);
} else {
« no previous file with comments | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tests/compiler/dart2js/categories_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698