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

Unified Diff: tools/gardening/bin/create_shard_groups.dart

Issue 2801603006: Refreshed tools/gardening/lib/src/shard_data.dart (Closed)
Patch Set: Fixed type typo in create_shard_groups.dart Created 3 years, 8 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 | tools/gardening/lib/src/shard_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/bin/create_shard_groups.dart
diff --git a/tools/gardening/bin/create_shard_groups.dart b/tools/gardening/bin/create_shard_groups.dart
index e513e5f958e43d8663ea180f10af0f2ee567fa10..4a690e65258bf113ff4640af74e343ed7e9ccdc9 100644
--- a/tools/gardening/bin/create_shard_groups.dart
+++ b/tools/gardening/bin/create_shard_groups.dart
@@ -76,7 +76,7 @@ main(List<String> args) {
List<String> dartoSource = dartoSourceFile.readAsLinesSync();
List<String> groups = findGroups(dartoSource);
- List<String> shards = findShards(dartoSource);
+ List<List<String>> shards = findShards(dartoSource);
int groupCount = math.min(groups.length, shards.length);
// Print the resulting Dart declaration.
@@ -93,7 +93,7 @@ const Map<String, List<String>> shardGroups = const {
""");
for (int i = 0; i < groupCount; i++) {
print(" '${groups[i]}': const <String>[");
- for (List<String> shard in shards[i]) {
+ for (String shard in shards[i]) {
print(" '$shard',");
}
print(" ],");
« no previous file with comments | « no previous file | tools/gardening/lib/src/shard_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698