From 52e607bcc7a04ae919312d0375e25e8a87bf1a83 Mon Sep 17 00:00:00 2001 From: felly Date: Wed, 20 Nov 2019 13:24:05 -0800 Subject: [PATCH] Add a --experimental_materialize_param_files_directly flag. PiperOrigin-RevId: 281587580 --- .../google/devtools/build/lib/exec/ExecutionOptions.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/google/devtools/build/lib/exec/ExecutionOptions.java b/src/main/java/com/google/devtools/build/lib/exec/ExecutionOptions.java index 03554ebd3cfcd8..ca97bdd856bd7a 100644 --- a/src/main/java/com/google/devtools/build/lib/exec/ExecutionOptions.java +++ b/src/main/java/com/google/devtools/build/lib/exec/ExecutionOptions.java @@ -130,6 +130,14 @@ public class ExecutionOptions extends OptionsBase { + "This is implied by --subcommands.") public boolean materializeParamFiles; + @Option( + name = "experimental_materialize_param_files_directly", + defaultValue = "false", + documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, + effectTags = {OptionEffectTag.UNKNOWN}, + help = "If materializing param files, do so with direct writes to disk.") + public boolean materializeParamFilesDirectly; + public boolean shouldMaterializeParamFiles() { // Implied by --subcommands return materializeParamFiles || showSubcommands != ActionExecutionContext.ShowSubcommands.FALSE;