Revert "Relax requirements around local engine, build hello_world with bitcode (#39357)" (#39431)

This reverts commit 202c1b4224.
This commit is contained in:
Jonah Williams
2019-08-28 13:12:45 -07:00
committed by GitHub
parent c1cb68004a
commit 393106fbf5
9 changed files with 125 additions and 41 deletions

View File

@@ -114,6 +114,7 @@ BuildApp() {
flutter_engine_flag="--local-engine-src-path=${FLUTTER_ENGINE}"
fi
local bitcode_flag=""
if [[ -n "$LOCAL_ENGINE" ]]; then
if [[ $(echo "$LOCAL_ENGINE" | tr "[:upper:]" "[:lower:]") != *"$build_mode"* ]]; then
EchoError "========================================================================"
@@ -130,12 +131,9 @@ BuildApp() {
local_engine_flag="--local-engine=${LOCAL_ENGINE}"
flutter_framework="${FLUTTER_ENGINE}/out/${LOCAL_ENGINE}/Flutter.framework"
flutter_podspec="${FLUTTER_ENGINE}/out/${LOCAL_ENGINE}/Flutter.podspec"
fi
local bitcode_flag=""
if [[ $ENABLE_BITCODE == "YES" ]]; then
bitcode_flag="--bitcode"
echo "Set Bitcode!"
if [[ $ENABLE_BITCODE == "YES" ]]; then
bitcode_flag="--bitcode"
fi
fi
if [[ -e "${project_path}/.ios" ]]; then