From 3cf21261bf756c937551c7d852dbca5c954fc44f Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Tue, 26 Jul 2016 14:16:40 +0000 Subject: [PATCH] Rewrite the extra action info files if the data within them changes. -- MOS_MIGRATED_REVID=128468615 --- .../build/lib/rules/extra/ExtraActionInfoFileWriteAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/extra/ExtraActionInfoFileWriteAction.java b/src/main/java/com/google/devtools/build/lib/rules/extra/ExtraActionInfoFileWriteAction.java index 817234c1a41d6e..f1db755e8f105c 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/extra/ExtraActionInfoFileWriteAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/extra/ExtraActionInfoFileWriteAction.java @@ -24,7 +24,6 @@ import com.google.devtools.build.lib.concurrent.ThreadSafety.Immutable; import com.google.devtools.build.lib.util.Fingerprint; import com.google.devtools.build.lib.util.Preconditions; - import java.io.IOException; import java.io.OutputStream; @@ -68,6 +67,7 @@ protected String computeKey() { Fingerprint f = new Fingerprint(); f.addString(UUID); f.addString(shadowedAction.getKey()); + f.addBytes(shadowedAction.getExtraActionInfo().build().toByteArray()); return f.hexDigestAndReset(); } }