[flutter] ensure vmservice binding is registered in profile mode (#83913)

This commit is contained in:
Jonah Williams
2021-06-03 17:59:03 -07:00
committed by GitHub
parent f41fa9dd48
commit 85df73d0e3
3 changed files with 138 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(DevtoolsStartupTest(
'${flutterDirectory.path}/examples/hello_world',
).run);
}