Skip to content

Conversation

@andrewkolos
Copy link
Contributor

Fixes #155755 on the beta branch so that this will be available with the 3.27 release.

Pre-launch checklist

…156687)

Fixes flutter#155755

When building the asset bundle during, the `--flavor` option isn't considered when searching for assets from dependencies. This PR fixes that.

It's possible that when initially implementing this feature, I thought that flavor-conditional assets didn't make sense for packages. While I still think that way regarding pub packages, using this feature makes a lot more sense for monorepo projects.

<details>

<summary> Pre-launch checklist </summary> 

</details>
@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Oct 21, 2024
@andrewkolos andrewkolos changed the base branch from master to flutter-3.27-candidate.0 October 21, 2024 23:35
@andrewkolos andrewkolos requested a review from bkonyi October 21, 2024 23:55
@andrewkolos andrewkolos marked this pull request as ready for review October 21, 2024 23:55
@reidbaker
Copy link
Contributor

@andrewkolos I am cutting the hotfix build today and there are failing tests. Is this something you still want to land.

As a release engineer I support this change.

@andrewkolos
Copy link
Contributor Author

@andrewkolos I am cutting the hotfix build today and there are failing tests. Is this something you still want to land.

As a release engineer I support this change.

I don't see any checks failing on this PR

@reidbaker
Copy link
Contributor

@andrewkolos I am cutting the hotfix build today and there are failing tests. Is this something you still want to land.
As a release engineer I support this change.

I don't see any checks failing on this PR

There were failures but then I updated this branch with tip of tree.

@reidbaker reidbaker self-requested a review October 23, 2024 18:27
Copy link
Contributor

@reidbaker reidbaker left a comment

Choose a reason for hiding this comment

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

Release engineer approval. Merge when you are ready.

@bkonyi bkonyi added the cp: review Cherry-picks in the review queue label Oct 24, 2024
@itsjustkevin itsjustkevin added cp: approved Approved cherry-pick request autosubmit Merge PR when tree becomes green via auto submit App labels Nov 5, 2024
@auto-submit auto-submit bot merged commit 41f3f40 into flutter:flutter-3.27-candidate.0 Nov 5, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App cp: approved Approved cherry-pick request cp: review Cherry-picks in the review queue tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flavor-conditional asset bundling does not work when declared within a direct main path dependencies

4 participants