diff options
author | 2016-12-19 23:58:13 +0000 | |
---|---|---|
committer | 2016-12-20 06:13:41 +0000 | |
commit | 733baeda5a300ac31f1b7bfb85f4d7c4b13f1357 (patch) | |
tree | 4bce6059157dc219ead7f11ec710dbeb5decee81 /src/main/java/com/google/devtools/build/lib/rules/cpp | |
parent | c22a5c7a2e6690a55b7bad06f41b08160875899f (diff) |
Update call sites to FileWriteAction to use the --experimental_transparent_compression flag
Also add test to ensure lazy strings aren't forced.
--
PiperOrigin-RevId: 142496520
MOS_MIGRATED_REVID=142496520
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java index 5e3a0639ce..9be0ffc741 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java @@ -533,8 +533,7 @@ public abstract class CcBinary implements RuleConfiguredTargetFactory { // to support .dwp generation even when fission is disabled. Since no actual functionality // is expected then, an empty file is appropriate. if (Iterables.isEmpty(allInputs)) { - context.registerAction( - new FileWriteAction(context.getActionOwner(), dwpOutput, "", false)); + context.registerAction(FileWriteAction.create(context, dwpOutput, "", false)); return; } |