Migrate to use the published metrics_center (flutter/engine#23767)

This change shouldn't affect anything except for the "Linux benchmarks" LUCI post-submit bot.

We'll closely monitor the LUCI bot to see if this works as intended. If so, we'll continue the migration in Cocoon (https://github.com/flutter/cocoon/pull/1062) to cut the dependency on the old Cocoon datastore and Tong's desktop.

Related issue: https://github.com/flutter/flutter/issues/73872
This commit is contained in:
Yuqian Li
2021-01-20 09:36:33 -08:00
committed by GitHub
parent 367ce3fcf3
commit 6d57116ac3
2 changed files with 3 additions and 6 deletions

View File

@@ -7,8 +7,7 @@ import 'dart:convert';
import 'dart:io';
import 'package:git/git.dart';
import 'package:metrics_center/flutter.dart';
import 'package:metrics_center/google_benchmark.dart';
import 'package:metrics_center/metrics_center.dart';
Future<String> _getGitRevision() async {
final GitDir gitDir = await GitDir.fromExisting('../../');

View File

@@ -2,10 +2,8 @@ name: flutter_engine_benchmark
dependencies:
git: any
metrics_center:
# TODO(liyuqian): once metrics_center is properly reviewed, add it to
# flutter/packages, publish on pub.dev, and use the published package here.
git: https://github.com/liyuqian/metrics_center.git
metrics_center: 0.0.4
dev_dependencies:
test: any