aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java b/src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java
index 62b3396d77..e68a461390 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/platform/PlatformCommon.java
@@ -15,9 +15,6 @@
package com.google.devtools.build.lib.rules.platform;
import com.google.devtools.build.lib.analysis.TemplateVariableInfo;
-import com.google.devtools.build.lib.analysis.platform.ConstraintSettingInfo;
-import com.google.devtools.build.lib.analysis.platform.ConstraintValueInfo;
-import com.google.devtools.build.lib.analysis.platform.PlatformInfo;
import com.google.devtools.build.lib.analysis.platform.ToolchainInfo;
import com.google.devtools.build.lib.packages.Provider;
import com.google.devtools.build.lib.skylarkinterface.SkylarkCallable;
@@ -43,40 +40,6 @@ public class PlatformCommon {
}
@SkylarkCallable(
- name = PlatformInfo.SKYLARK_NAME,
- doc =
- "The provider constructor for PlatformInfo. The constructor takes the list of "
- + "ConstraintValueInfo providers that defines the platform.",
- structField = true
- )
- public Provider getPlatformInfoConstructor() {
- return PlatformInfo.SKYLARK_CONSTRUCTOR;
- }
-
- @SkylarkCallable(
- name = ConstraintSettingInfo.SKYLARK_NAME,
- doc =
- "The provider constructor for ConstraintSettingInfo. The constructor takes the label that "
- + "uniquely identifies the constraint (and which should always be ctx.label).",
- structField = true
- )
- public Provider getConstraintSettingInfoConstructor() {
- return ConstraintSettingInfo.PROVIDER;
- }
-
- @SkylarkCallable(
- name = ConstraintValueInfo.SKYLARK_NAME,
- doc =
- "The provider constructor for ConstraintValueInfo. The constructor takes the label that "
- + "uniquely identifies the constraint value (and which should always be ctx.label), "
- + "and the ConstraintSettingInfo which the value belongs to.",
- structField = true
- )
- public Provider getConstraintValueInfoConstructor() {
- return ConstraintValueInfo.SKYLARK_CONSTRUCTOR;
- }
-
- @SkylarkCallable(
name = ToolchainInfo.SKYLARK_NAME,
doc =
"The provider constructor for ToolchainInfo. The constructor takes the type of the "