aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/bazel
diff options
context:
space:
mode:
authorGravatar dannark <dannark@google.com>2018-06-21 11:55:44 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-21 11:57:27 -0700
commitf24479d495df540bae634b5ff2dde3177585c2a3 (patch)
treeab16e9bf0c46f1f2b1ad70d6502003de553abd81 /src/test/java/com/google/devtools/build/lib/bazel
parent9594d5e8dc465bb4526a2f15a4b547de7e1324a7 (diff)
Take into account repository mapping when processing labels inside BUILD files within external repositories.
For example: a/BUILD genrule( name = "a", srcs = ["@x//:x.txt"], outs = ["result.txt"], cmd = "echo hello > \$(location result.txt)" ) If the main workspace file references that repository with a rule: local_repository( name = "other_repo", path = "../a", repo_mapping = {"@x" : "@y"} ) Then when a/BUILD is evaluated, the string "@x//:x.txt" will be turned into a Label "@y//:x.txt" RELNOTES: None PiperOrigin-RevId: 201562148
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/bazel')
0 files changed, 0 insertions, 0 deletions