From d37adb0365adfaca4e1935b685cc2b72603df60d Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 16 Nov 2021 13:29:12 -0800 Subject: [PATCH] Add OptionMetadataTag.EXPLICIT_IN_OUTPUT_PATH See OptionMetadataTag.java for documentation on what the tag does. Also audited the transitive calls of OutputDirectories.buildMnemonic and annotated options that seemingly can safely have the tag. (Note that some, like AppleConfiguration, have a getOutputDirectory that is too intricate for me to comfortably add the tag to any of the associated options.) Related to https://github.com/bazelbuild/bazel/issues/14023. PiperOrigin-RevId: 410335434 --- third_party/bazel/src/main/protobuf/option_filters.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/bazel/src/main/protobuf/option_filters.proto b/third_party/bazel/src/main/protobuf/option_filters.proto index 424e3af2072..d931083c405 100644 --- a/third_party/bazel/src/main/protobuf/option_filters.proto +++ b/third_party/bazel/src/main/protobuf/option_filters.proto @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; + package options; // option java_api_version = 2; @@ -54,4 +55,5 @@ enum OptionMetadataTag { INTERNAL = 4; reserved "TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES"; reserved 5; + EXPLICIT_IN_OUTPUT_PATH = 6; }