Skip to content

[flutter_tools] Reland flutter assemble for iOS - #50229

Merged
jonahwilliams merged 11 commits into
flutter:masterfrom
jonahwilliams:full_assemble
Feb 6, 2020
Merged

jonahwilliams merged 11 commits into
flutter:masterfrom
jonahwilliams:full_assemble

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Description

Updates xcode_backend.sh to use (mostly) assemble APIs. This almost completes the migration, though I still need to move the asset unpack step - this is slightly more complicated due to the module format.

Should have no new external behavior, but does allow us to more easily wire up new features like font-subset, dart-defines, and obfuscation (which was never implemented for iOS?)

FYI @dnfield

Fixes #32925

Reland: Makes the Universal framework depend on kernel. Due to the behavior of the codegen integration, running them at the same time causes parts of .dart_tool to be deleted and recreated.

Reland: Don't specify an armv7 (32 bit) arch unless it is listed as active arches, since this isn't supported on newer deployment targets

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 6, 2020
@jonahwilliams
jonahwilliams requested a review from jmagman February 6, 2020 00:15
@jonahwilliams

Copy link
Copy Markdown
Contributor Author

I also need to update the expected analytics for the module_test_ios

@jmagman jmagman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

module_test_ios passes 🎲 🎲 🎲

final RunResult iphoneResult = await createStubAppFramework(
iphoneFile,
SdkType.iPhone,
// Only include 32bit if it is contained in the active arches.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"active architectures"

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

Since the last commit passed, and these checks are obviously flakes I'm going to submit anyway

@jonahwilliams
jonahwilliams merged commit de7908f into flutter:master Feb 6, 2020
@jonahwilliams
jonahwilliams deleted the full_assemble branch February 6, 2020 01:44
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-implement existing iOS and Android build in terms of --legacy flutter assemble targets

4 participants