From 8c0740fa34cbdf46bbd505767a2f2ee79570fcb1 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Tue, 20 Sep 2022 18:28:44 -0700 Subject: [PATCH] Add --incompatible_build_transitive_python_runfiles alias for --experimental_build_transitive_python_runfiles This is to make clear that it results in an incompatible behavior change. Work towards #16303 RELNOTES: Add --incompatible_build_transitive_python_runfiles alias. See #16303 PiperOrigin-RevId: 475703597 Change-Id: I242925eb9e3179a88287faaab8212c43006466d4 --- .../google/devtools/build/lib/rules/python/PythonOptions.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PythonOptions.java b/src/main/java/com/google/devtools/build/lib/rules/python/PythonOptions.java index 7242c0de1514f4..05ee918e5c32b0 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/python/PythonOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/python/PythonOptions.java @@ -227,9 +227,11 @@ public String getTypeDescription() { defaultValue = "true", documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS, OptionEffectTag.AFFECTS_OUTPUTS}, + metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, help = "Build the runfiles trees of py_binary targets that appear in the transitive " - + "data runfiles of another binary.") + + "data runfiles of another binary.", + oldName = "incompatible_build_transitive_python_runfiles") public boolean buildTransitiveRunfilesTrees; @Option(