diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java b/src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java index fefc871457..7b94b9379d 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/PlatformConfiguration.java @@ -34,17 +34,17 @@ import java.util.List; ) public class PlatformConfiguration extends BuildConfiguration.Fragment { private final Label hostPlatform; - private final ImmutableList<Label> extraExecutionPlatforms; + private final ImmutableList<String> extraExecutionPlatforms; private final ImmutableList<Label> targetPlatforms; - private final ImmutableList<Label> extraToolchains; + private final ImmutableList<String> extraToolchains; private final ImmutableList<Label> enabledToolchainTypes; @AutoCodec.Instantiator PlatformConfiguration( Label hostPlatform, - ImmutableList<Label> extraExecutionPlatforms, + ImmutableList<String> extraExecutionPlatforms, ImmutableList<Label> targetPlatforms, - ImmutableList<Label> extraToolchains, + ImmutableList<String> extraToolchains, ImmutableList<Label> enabledToolchainTypes) { this.hostPlatform = hostPlatform; this.extraExecutionPlatforms = extraExecutionPlatforms; @@ -58,8 +58,11 @@ public class PlatformConfiguration extends BuildConfiguration.Fragment { return hostPlatform; } - /** Additional platforms that are available for action execution. */ - public ImmutableList<Label> getExtraExecutionPlatforms() { + /** + * Target patterns that select additional platforms that will be made available for action + * execution. + */ + public ImmutableList<String> getExtraExecutionPlatforms() { return extraExecutionPlatforms; } @@ -68,8 +71,11 @@ public class PlatformConfiguration extends BuildConfiguration.Fragment { return targetPlatforms; } - /** Additional toolchains that should be considered during toolchain resolution. */ - public ImmutableList<Label> getExtraToolchains() { + /** + * Target patterns that select additional toolchains that will be considered during toolchain + * resolution. + */ + public ImmutableList<String> getExtraToolchains() { return extraToolchains; } |