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;
|
final String deviceId = device.deviceId;
|
||||||
|
|
||||||
await flutter('drive', options: <String>[
|
await flutter('drive', options: <String>[
|
||||||
|
if (localEngine != null)
|
||||||
|
...<String>['--local-engine', localEngine!],
|
||||||
|
if (localEngineSrcPath != null)
|
||||||
|
...<String>['--local-engine-src-path', localEngineSrcPath!],
|
||||||
'--no-dds',
|
'--no-dds',
|
||||||
'--no-android-gradle-daemon',
|
'--no-android-gradle-daemon',
|
||||||
'-v',
|
'-v',
|
||||||
@ -994,6 +998,10 @@ class PerfTestWithSkSL extends PerfTest {
|
|||||||
_flutterPath,
|
_flutterPath,
|
||||||
<String>[
|
<String>[
|
||||||
'run',
|
'run',
|
||||||
|
if (localEngine != null)
|
||||||
|
...<String>['--local-engine', localEngine!],
|
||||||
|
if (localEngineSrcPath != null)
|
||||||
|
...<String>['--local-engine-src-path', localEngineSrcPath!],
|
||||||
'--no-dds',
|
'--no-dds',
|
||||||
if (deviceOperatingSystem == DeviceOperatingSystem.ios)
|
if (deviceOperatingSystem == DeviceOperatingSystem.ios)
|
||||||
...<String>[
|
...<String>[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user