Skip to content

[flutter_tools] fix iOS build inconsistencies and pipe through performance file - #56094

Merged
jonahwilliams merged 16 commits into
flutter:masterfrom
jonahwilliams:fix_debug_app_targets
May 1, 2020
Merged

jonahwilliams merged 16 commits into
flutter:masterfrom
jonahwilliams:fix_debug_app_targets

Conversation

@jonahwilliams

@jonahwilliams jonahwilliams commented Apr 30, 2020 •

Copy link
Copy Markdown
Contributor

Description

Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.

When plumbing the flag through I updated the xcode scripts to use the same environment variable logic as linux and windows to simplify the code. I also removed the custom track-widget-creation flag from build_appbundle in favor of the standard flag. This updated the default in safe/backwards compatible way.

Fixes #56086

-dBuildMode="${build_mode}" \
-dTreeShakeIcons="${icon_tree_shaker_flag}" \
-dDartObfuscation="${dart_obfuscation_flag}" \
-dTreeShakeIcons="${TREE_SHAKE_ICONS}" \

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to conditionally set these flags, assemble just checks if == true, so an empty string if they are unset is fine.

@jonahwilliams
jonahwilliams marked this pull request as ready for review May 1, 2020 16:45
@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no and removed cla: yes labels May 1, 2020
@jonahwilliams

Copy link
Copy Markdown
Contributor Author

Hmm @christopherfujino your edit got applied as a gmail address

@jonahwilliams
jonahwilliams force-pushed the fix_debug_app_targets branch from 93159f0 to 33e636b Compare May 1, 2020 20:37
@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes and removed cla: no labels May 1, 2020
@jonahwilliams

Copy link
Copy Markdown
Contributor Author

@googlebot I fixed it

@christopherfujino christopherfujino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

The docs linux task did finish successfully

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running flutter build ios repeatedly never uses assemble cache

3 participants