Update examples/** to provide --local-engine-host. (flutter/engine#44610)

Partial work towards https://github.com/flutter/flutter/issues/132245.
This commit is contained in:
Matan Lurey 2023-08-10 17:47:38 -07:00 committed by GitHub
parent 234063b3ae
commit 88a116a521
3 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,8 @@ cd myapp
cp ../../main.dart lib/main.dart
flutter build bundle \
--local-engine-src-path ../../../../../ \
--local-engine=$variant
--local-engine=$variant \
--local-engine-host=$variant
cd -
#################################################################

View File

@ -24,7 +24,8 @@ cd myapp
cp ../../main.dart lib/main.dart
flutter build bundle \
--local-engine-src-path ../../../../../ \
--local-engine=host_debug_unopt
--local-engine=host_debug_unopt \
--local-engine-host=host_debug_unopt
cd -
#################################################################

View File

@ -18,7 +18,8 @@ pushd myapp > /dev/null
#cp ../../main.dart lib/main.dart
flutter build bundle \
--local-engine-src-path ../../../../../ \
--local-engine=host_debug_unopt
--local-engine=host_debug_unopt \
--local-engine-host=host_debug_unopt
popd > /dev/null
#################################################################