From d08ec265831bfa41b43f598b8db12c67e172048c Mon Sep 17 00:00:00 2001 From: pcloudy Date: Fri, 18 May 2018 14:19:20 +0200 Subject: [PATCH] Refactor artifact_name_pattern in CROSSTOOL Instead of using a string pattern, we replace it with a prefix and an extension. RELNOTES: NONE PiperOrigin-RevId: 197132215 --- .../bazel/src/main/protobuf/crosstool_config.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto index 3663f72..927d0f4 100644 --- a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto +++ b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto @@ -260,10 +260,10 @@ message CToolchain { // categories include "linked_output" or "debug_symbols". An error is thrown // if no category is matched. required string category_name = 1; - // The pattern for creating the artifact for this selection. The given - // pattern is templated by bazel and then used to create an artifact in - // a target-specific directory in bazel-bin. - required string pattern = 2; + // The prefix and extension for creating the artifact for this selection. + // They are used to create an artifact name based on the target name. + required string prefix = 2; + required string extension = 3; } // An action config corresponds to a blaze action, and allows selection of