Skip to content

Commit

Permalink
Add OptionMetadataTag.EXPLICIT_IN_OUTPUT_PATH
Browse files Browse the repository at this point in the history
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 bazelbuild/bazel#14023.

PiperOrigin-RevId: 410335434
  • Loading branch information
Googler authored and copybara-github committed Nov 16, 2021
1 parent 93af4bd commit d37adb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/bazel/src/main/protobuf/option_filters.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -54,4 +55,5 @@ enum OptionMetadataTag {
INTERNAL = 4;
reserved "TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES";
reserved 5;
EXPLICIT_IN_OUTPUT_PATH = 6;
}

0 comments on commit d37adb0

Please sign in to comment.