diff options
author | 2016-12-01 13:24:41 +0000 | |
---|---|---|
committer | 2016-12-01 13:32:05 +0000 | |
commit | 7c4a8093da6272969c86f22a08c72ddbbf6e8274 (patch) | |
tree | 7e32f416433c98f436d490d46917e4928cb8cc48 /src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java | |
parent | 12c661013ec4f67c4200049c4bf289c4f43efc53 (diff) |
Remove callerLabel from Environment.
It is a Bazel-specific information.
--
MOS_MIGRATED_REVID=140719791
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 | 2 |
1 files changed, 1 insertions, 1 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 9aa6b261a5..80cbbb91d0 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 @@ -755,7 +755,7 @@ public class SkylarkRuleClassFunctions { throws EvalException { Label parentLabel = null; if (relativeToCallerRepository) { - parentLabel = env.getCallerLabel(); + parentLabel = SkylarkUtils.getCallerLabel(env); } else { parentLabel = env.getGlobals().label(); } |