Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@XilaiZhang
Copy link
Contributor

@XilaiZhang XilaiZhang commented Jun 24, 2022

context: flutter/engine#34216 (comment)

This commit forwards the metadata variable in generate_snapshot_bin template, which is used to generate the gen_snapshot engine artifact. Together with the PR on flutter/engine side, this PR eventually aims to embed entitlement metadata in the leaf build targets.

pool = invoker.pool
}

forward_variables_from(invoker, ["metadata"])
Copy link
Member

Choose a reason for hiding this comment

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

You can use forward_variables_from for the three above too as a cleanup:

Suggested change
forward_variables_from(invoker, ["metadata"])
forward_variables_from(invoker, ["metadata", "pool", "testonly", "visibility"])

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Very true! newest commit forwards all suitable variables.

@XilaiZhang XilaiZhang requested a review from zanderso June 24, 2022 21:30
@XilaiZhang XilaiZhang merged commit 8d9932d into flutter:master Jun 24, 2022
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.

2 participants