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

Conversation

@chinmaygarde
Copy link
Contributor

This was a pattern used by GYP and has since been abandoned in favor of conditionally adding the right sources and dependencies to GN targets. The assignment filter makes debugging linker issues due to filtered source files or dependencies extremely hard to isolate. All uses of this “feature” in the Flutter buildroot and engine have been to disable the same. Dependencies already assume that no filters are present as other buildroots (Fuchsia) don’t define these either.

This was a pattern used by GYP and has since been abandoned in favor of conditionally adding the right sources and dependencies to GN targets. The assignment filter makes debugging linker issues due to filtered source files or dependencies extremely hard to isolate. All uses of this “feature” in the Flutter buildroot have been to disable the same. Dependencies already assume that no filters are present as other buildroots (Fuchsia) don’t define these either.
@chinmaygarde
Copy link
Contributor Author

As discussed with @jamesr after spending an inordinate amount of time again debugging why an assignment was being silently ignored.

@cbracken
Copy link
Member

RSLGTM. Despite the slight increase in tediousness, the less magic in build systems the better.

@chinmaygarde
Copy link
Contributor Author

Despite the slight increase in tediousness.

We have never taken advantage of this feature.

@chinmaygarde chinmaygarde merged commit c5afcce into flutter:master May 14, 2019
@chinmaygarde chinmaygarde deleted the no_saf branch May 14, 2019 00:56
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