Skip to content

Track impellerc and an engine stamp as shader bundle build inputs - #22

Merged
bdero merged 1 commit into
masterfrom
bdero/track-engine-inputs
Jul 30, 2026
Merged

Track impellerc and an engine stamp as shader bundle build inputs#22
bdero merged 1 commit into
masterfrom
bdero/track-engine-inputs

Conversation

@bdero

@bdero bdero commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Shader bundles are tied to the engine build that supplied impellerc, but the hook only declared the manifest and shader sources as inputs, so an engine change within a single Dart SDK version left stale bundles in place, and the shared pub-cache output path let projects on different Flutter SDKs overwrite each other's bundle undetected. impellerc is now a content-hashed build dependency, and a write-if-changed engine stamp beside each bundle turns a foreign rewrite into a hook rerun.

Shader bundles are tied to the engine build that supplied impellerc, but
the hook's declared inputs only covered the manifest and shader sources,
so engine changes within a Dart SDK version left stale bundles in place,
and the pub-cache output path let projects on different SDKs overwrite
each other's bundle undetected. Declare the impellerc binary as a build
dependency and write a content-addressed engine stamp beside each bundle
so either change reruns the hook.
@bdero
bdero merged commit ac2f580 into master Jul 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant