-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Invalidate the WebStaticAssets
target if the web sdk changes.
#123739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalidate the WebStaticAssets
target if the web sdk changes.
#123739
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense!
auto label is removed for flutter/flutter, pr: 123739, due to - The status or check suite Linux analyze has failed. Please fix the issues identified (or deflake) before re-applying this label. |
List<Source> get inputs => const <Source>[ | ||
Source.hostArtifact(HostArtifact.flutterWebSdk), | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for outputs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it would be slightly better with outputs, as I think it would be able to invalidate if the user manually tinkered with the output files. Maybe we could do that as a followup at some point.
…ter#123739) Invalidate the `WebStaticAssets` target if the web sdk changes.
This fixes #123737
Since we're copying over local canvaskit, we need to invalidate it if the web sdk changes. So we need to specify the web sdk as an input artifact to this target.