Pipe strong mode option for iOS simulator. (#14002)

This commit is contained in:
Alexander Aprelev
2018-01-11 14:08:28 -08:00
committed by GitHub
parent 991765780b
commit bedf987fc8
3 changed files with 19 additions and 5 deletions

View File

@@ -93,6 +93,11 @@ BuildApp() {
preview_dart_2_flag="--preview-dart-2"
fi
local strong_flag=""
if [[ -n "$STRONG" ]]; then
strong_flag="--strong"
fi
if [[ "$CURRENT_ARCH" != "x86_64" ]]; then
local aot_flags=""
if [[ "$build_mode" == "debug" ]]; then
@@ -107,7 +112,8 @@ BuildApp() {
--target="${target_path}" \
${aot_flags} \
${local_engine_flag} \
${preview_dart_2_flag}
${preview_dart_2_flag} \
${strong_flag} \
if [[ $? -ne 0 ]]; then
EchoError "Failed to build ${project_path}."
@@ -140,6 +146,7 @@ BuildApp() {
${precompilation_flag} \
${local_engine_flag} \
${preview_dart_2_flag} \
${strong_flag} \
if [[ $? -ne 0 ]]; then
EchoError "Failed to package ${project_path}."