On simulators, don't pass file paths to the engine that done exist. (#16756)

This commit is contained in:
Chinmay Garde
2018-04-19 12:42:56 -07:00
committed by GitHub
parent eb1fd78601
commit 48ab8648bf

View File

@@ -319,14 +319,6 @@ class IOSSimulator extends Device {
// Prepare launch arguments.
final List<String> args = <String>['--enable-dart-profiling'];
if (!prebuiltApplication) {
args.addAll(<String>[
'--flutter-assets-dir=${fs.path.absolute(getAssetBuildDirectory())}',
'--dart-main=${fs.path.absolute(mainPath)}${debuggingOptions.buildInfo.previewDart2?".dill":""}',
'--packages=${fs.path.absolute('.packages')}',
]);
}
if (debuggingOptions.debuggingEnabled) {
if (debuggingOptions.buildInfo.isDebug)
args.add('--enable-checked-mode');