Add local engine flag support to the SkSL caching performance benchmark scripts (#91773)
This commit is contained in:
@@ -814,6 +814,10 @@ class PerfTest {
|
||||
final String deviceId = device.deviceId;
|
||||
|
||||
await flutter('drive', options: <String>[
|
||||
if (localEngine != null)
|
||||
...<String>['--local-engine', localEngine!],
|
||||
if (localEngineSrcPath != null)
|
||||
...<String>['--local-engine-src-path', localEngineSrcPath!],
|
||||
'--no-dds',
|
||||
'--no-android-gradle-daemon',
|
||||
'-v',
|
||||
@@ -994,6 +998,10 @@ class PerfTestWithSkSL extends PerfTest {
|
||||
_flutterPath,
|
||||
<String>[
|
||||
'run',
|
||||
if (localEngine != null)
|
||||
...<String>['--local-engine', localEngine!],
|
||||
if (localEngineSrcPath != null)
|
||||
...<String>['--local-engine-src-path', localEngineSrcPath!],
|
||||
'--no-dds',
|
||||
if (deviceOperatingSystem == DeviceOperatingSystem.ios)
|
||||
...<String>[
|
||||
|
||||
Reference in New Issue
Block a user