commit | e4d2e81646d91a02d2985361acf9625dab8a8c76 | [log] [tgz] |
---|---|---|
author | Tobias Werth <twerth@google.com> | Mon Feb 06 17:09:24 2017 +0000 |
committer | Kristina Chodorow <kchodorow@google.com> | Mon Feb 06 19:36:00 2017 +0000 |
tree | 1777b9f0959aab28e1bc5edd1a250d1039d48766 | |
parent | 5a09804c33fbbba3a9017d403a2d4e6db62b6ef5 [diff] |
Fix action key computation for ParameterFileWriteAction. It did not take the type (shell_quoted vs unquoted) into account and thus did not redo the action if only the type has changed. -- PiperOrigin-RevId: 146670962 MOS_MIGRATED_REVID=146670962
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/actions/ParameterFileWriteAction.java b/src/main/java/com/google/devtools/build/lib/analysis/actions/ParameterFileWriteAction.java index 659dae6..6889e44 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/actions/ParameterFileWriteAction.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/actions/ParameterFileWriteAction.java
@@ -161,6 +161,7 @@ Fingerprint f = new Fingerprint(); f.addString(GUID); f.addString(String.valueOf(makeExecutable)); + f.addString(type.toString()); f.addStrings(commandLine.arguments()); return f.hexDigestAndReset(); }