aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
diff options
context:
space:
mode:
authorGravatar Laurent Le Brun <laurentlb@google.com>2015-06-02 13:17:26 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-06-02 14:39:29 +0000
commit4a411d0de29468863d39c2b840b95380ecefb1cb (patch)
treef4d795b2202a1da30d70d12644e420e2500410a0 /src/main/java/com/google/devtools/build/lib
parent256a40c85252a78a3c1c5d2bc6529ff65c0e4d86 (diff)
Skylark - delete deprecated ctx.target(s)
-- MOS_MIGRATED_REVID=95001990
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java
index e671ad1eec..94e7ae0bf3 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleContext.java
@@ -308,24 +308,6 @@ public final class SkylarkRuleContext {
return filesObject;
}
- /**
- * See {@link RuleContext#getPrerequisite(String, Mode)}.
- */
- @SkylarkCallable(name = "target", structField = true, documented = false)
- public SkylarkClassObject getTarget() throws FuncallException {
- // TODO(bazel-team): Remove function in June 2015.
- throw new FuncallException("ctx.target has been removed, use ctx.attr instead");
- }
-
- /**
- * See {@link RuleContext#getPrerequisites(String, Mode)}.
- */
- @SkylarkCallable(name = "targets", structField = true, documented = false)
- public SkylarkClassObject getTargets() throws FuncallException {
- // TODO(bazel-team): Remove function in June 2015.
- throw new FuncallException("ctx.targets has been removed, use ctx.attr instead");
- }
-
@SkylarkCallable(name = "workspace_name", structField = true,
doc = "Returns the workspace name as defined in the WORKSPACE file.")
public String getWorkspaceName() {