Add local engine flag support to the SkSL caching performance benchmark scripts (#91773)
This commit is contained in:
parent
b9d0c73ae4
commit
0bf2c9b3b7
@ -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>[
|
||||
|
Loading…
x
Reference in New Issue
Block a user