aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf
diff options
context:
space:
mode:
authorGravatar pcloudy <pcloudy@google.com>2018-05-18 05:19:20 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-18 05:21:19 -0700
commitfd44bae268f74e3b308d03b8e3710ee9442cd851 (patch)
tree99922c50e71c20b85305cb451f510747f5798b9d /src/main/protobuf
parente854c86bde5af363e03b87dcf46e629dce694c17 (diff)
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
Diffstat (limited to 'src/main/protobuf')
-rw-r--r--src/main/protobuf/crosstool_config.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/protobuf/crosstool_config.proto b/src/main/protobuf/crosstool_config.proto
index 7323d75526..3ad7c7a0e1 100644
--- a/src/main/protobuf/crosstool_config.proto
+++ b/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