diff options
author | gregce <gregce@google.com> | 2017-12-21 14:31:24 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-21 14:33:45 -0800 |
commit | 9ccafc68eff8485f7abedf35e6130d564f5c118e (patch) | |
tree | b5bf1d17225e72e9dd10f1475fef7e28be39f925 /src/test/java/com/google/devtools/build/lib/runtime | |
parent | 0421d7d8566a6fbe35e17a1edc3ab4d622aa6c9e (diff) |
Move config transition definitions out of lib.packages.Attribute.
This cleans up a legacy API from Bazel's "static configuration" days,
when transition definitions involved deep and complex logic in the
analysis code. That was too much cruft to embed into lib.packages.
But the modern definitions are way simpler and thus easier to embed.
This change only *copies* the existing definitions. Because a lot of
references will have to be updated, we'll migrate the move over a few
changes.
PiperOrigin-RevId: 179859293
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java index 2198a13f0e..75a4c955ff 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java @@ -318,7 +318,7 @@ public class BlazeCommandDispatcherRcoptionsTest { public boolean fakeOpt; @Override - public Map<String, Set<Label>> getDefaultsLabels(BuildConfiguration.Options commonOptions) { + public Map<String, Set<Label>> getDefaultsLabels() { return ImmutableMap.<String, Set<Label>>of( "mock_target", ImmutableSet.of(Label.parseAbsoluteUnchecked("//mock:target"))); } |