Commit 225b52bc authored by asiva's avatar asiva Committed by Siva

Fix iOS build which broke after the change to fuse --strong option into

--preview-dart-2.
parent 08858662
...@@ -93,11 +93,6 @@ BuildApp() { ...@@ -93,11 +93,6 @@ BuildApp() {
preview_dart_2_flag="--preview-dart-2" preview_dart_2_flag="--preview-dart-2"
fi fi
local strong_flag=""
if [[ -n "$STRONG" ]]; then
strong_flag="--strong"
fi
if [[ "$CURRENT_ARCH" != "x86_64" ]]; then if [[ "$CURRENT_ARCH" != "x86_64" ]]; then
local aot_flags="" local aot_flags=""
if [[ "$build_mode" == "debug" ]]; then if [[ "$build_mode" == "debug" ]]; then
...@@ -113,7 +108,6 @@ BuildApp() { ...@@ -113,7 +108,6 @@ BuildApp() {
${aot_flags} \ ${aot_flags} \
${local_engine_flag} \ ${local_engine_flag} \
${preview_dart_2_flag} \ ${preview_dart_2_flag} \
${strong_flag} \
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
EchoError "Failed to build ${project_path}." EchoError "Failed to build ${project_path}."
...@@ -146,7 +140,6 @@ BuildApp() { ...@@ -146,7 +140,6 @@ BuildApp() {
${precompilation_flag} \ ${precompilation_flag} \
${local_engine_flag} \ ${local_engine_flag} \
${preview_dart_2_flag} \ ${preview_dart_2_flag} \
${strong_flag} \
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
EchoError "Failed to package ${project_path}." EchoError "Failed to package ${project_path}."
......
...@@ -56,7 +56,6 @@ void updateXcodeGeneratedProperties({ ...@@ -56,7 +56,6 @@ void updateXcodeGeneratedProperties({
if (previewDart2) { if (previewDart2) {
localsBuffer.writeln('PREVIEW_DART_2=true'); localsBuffer.writeln('PREVIEW_DART_2=true');
localsBuffer.writeln('STRONG=true');
} }
// Add dependency to CocoaPods' generated project only if plugins are used. // Add dependency to CocoaPods' generated project only if plugins are used.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment