提交 f5635dbb 编写于 作者: T Todd Volkert

Plumb LOCAL_ENGINE Local.xcconfig flag through to flutter build (#2713)

https://github.com/flutter/flutter/issues/4186
上级 38dd5271
......@@ -47,11 +47,17 @@ BuildApp() {
interpreter_flag=""
fi
local local_engine_flag=""
if [[ -n "$LOCAL_ENGINE" ]]; then
local_engine_flag="--local-engine=$LOCAL_ENGINE"
fi
RunCommand ${FLUTTER_ROOT}/bin/flutter --suppress-analytics build aot \
--target-platform=ios \
--release \
--output-dir=${derived_dir} \
${interpreter_flag}
${interpreter_flag} \
${local_engine_flag}
if [[ $? -ne 0 ]]; then
EchoError "Failed to build $1."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册