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

Unified Diff: pkg/analysis_server/tool/spec/check_all_test.dart

Issue 3002293003: Convert GeneratedContent to async and use AnalysisDriver for tasks graph. (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | pkg/analysis_server/tool/spec/codegen_dart_protocol.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/check_all_test.dart
diff --git a/pkg/analysis_server/tool/spec/check_all_test.dart b/pkg/analysis_server/tool/spec/check_all_test.dart
index fa3c13f43ef65943171209ce8da0f415d99d867c..a19596d7ad063a88e71c8eb707961659325ece50 100644
--- a/pkg/analysis_server/tool/spec/check_all_test.dart
+++ b/pkg/analysis_server/tool/spec/check_all_test.dart
@@ -13,11 +13,11 @@ import 'generate_all.dart';
* Check that all targets have been code generated. If they haven't tell the
* user to run generate_all.dart.
*/
-main() {
+main() async {
String script = Platform.script.toFilePath(windows: Platform.isWindows);
List<String> components = split(script);
int index = components.indexOf('analysis_server');
String pkgPath = joinAll(components.sublist(0, index + 1));
- GeneratedContent.checkAll(
+ await GeneratedContent.checkAll(
pkgPath, join('tool', 'spec', 'generate_all.dart'), allTargets);
}
« no previous file with comments | « no previous file | pkg/analysis_server/tool/spec/codegen_dart_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698