mirror of https://github.com/bazelbuild/rules_cc
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
This commit is contained in:
parent
358b48dc26
commit
d08ec26583
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue