Keep generated Linux plugin registries out of build identity
This commit is contained in:
@@ -70,7 +70,8 @@ def digest(kind, app=APP, extra=()):
|
||||
paths = [root] if root.is_file() else sorted(p for p in root.rglob("*") if p.is_file()) if root.is_dir() else []
|
||||
for path in paths:
|
||||
relative = path.relative_to(app)
|
||||
if SKIPPED.intersection(relative.parts):
|
||||
if SKIPPED.intersection(relative.parts) or (relative.parts[:2] == ("linux", "flutter") and relative.name in {
|
||||
"generated_plugin_registrant.cc", "generated_plugin_registrant.h", "generated_plugins.cmake"}):
|
||||
continue
|
||||
hasher.update(b"\0path\0" + str(relative).encode() + b"\0")
|
||||
hasher.update(path.read_bytes())
|
||||
|
||||
Reference in New Issue
Block a user