diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java index a88e096667..0b667f7e8c 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java @@ -46,7 +46,6 @@ import com.google.devtools.build.lib.collect.nestedset.NestedSetBuilder; import com.google.devtools.build.lib.collect.nestedset.Order; import com.google.devtools.build.lib.events.Location; import com.google.devtools.build.lib.packages.Attribute; -import com.google.devtools.build.lib.packages.Attribute.ConfigurationTransition; import com.google.devtools.build.lib.packages.AttributeMap; import com.google.devtools.build.lib.packages.AttributeValueSource; import com.google.devtools.build.lib.packages.ImplicitOutputsFunction.SkylarkImplicitOutputsFunctionWithCallback; @@ -99,24 +98,6 @@ import java.util.concurrent.ExecutionException; */ public class SkylarkRuleClassFunctions { - @SkylarkSignature( - name = "DATA_CFG", - returnType = ConfigurationTransition.class, - doc = - "Deprecated. Use string \"data\" instead. " - + "Specifies a transition to the data configuration." - ) - private static final Object dataTransition = ConfigurationTransition.DATA; - - @SkylarkSignature( - name = "HOST_CFG", - returnType = ConfigurationTransition.class, - doc = - "Deprecated. Use string \"host\" instead. " - + "Specifies a transition to the host configuration." - ) - private static final Object hostTransition = ConfigurationTransition.HOST; - // TODO(bazel-team): Copied from ConfiguredRuleClassProvider for the transition from built-in // rules to skylark extensions. Using the same instance would require a large refactoring. // If we don't want to support old built-in rules and Skylark simultaneously |