Deprecate `{,no}experimental_send_archived_tree_artifact_inputs` flag.
The flag has been replaced by a more expressive regex filter
(`--archived_tree_artifact_mnemonics_filter`). Deprecate the flag in
preparation to remove it.
PiperOrigin-RevId: 372226241
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 212e43b..c79dec3 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
@@ -448,6 +448,8 @@
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS, OptionEffectTag.EXECUTION},
expansion = "--archived_tree_artifact_mnemonics_filter=.*",
+ deprecationWarning =
+ "Please use --archived_tree_artifact_mnemonics_filter=.* instead of this flag.",
help =
"Send input tree artifacts as a single archived file rather than sending each file in the"
+ " artifact as a separate input.")
@@ -459,6 +461,8 @@
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS, OptionEffectTag.EXECUTION},
expansion = "--archived_tree_artifact_mnemonics_filter=-.*",
+ deprecationWarning =
+ "Please use --archived_tree_artifact_mnemonics_filter=-.* instead of this flag.",
help =
"Send input tree artifacts as a single archived file rather than sending each file in the"
+ " artifact as a separate input.")