aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2017-11-03 09:27:53 -0400
committerGravatar John Cater <jcater@google.com>2017-11-03 09:53:35 -0400
commitcff0dc94f6a8e16492adf54c88d0b26abe903d4c (patch)
treef213d88608b5887b52ad937a3e95a4fbe11b6e4c /scripts
parentf75eadeadc98f5b4cea6fd36f149bf96e2240996 (diff)
Add rootpath(s) and execpath(s) functions to template expansion
In addition to the $(location) function, we now also support $(rootpath) and $(execpath) functions. Unfortunately, we have to do this in two places since the Skylark API for expand_location has to continue calling into LocationExpander in order to preserve its semantic contract. Progress on #2475. RELNOTES[NEW]: In addition to $(location), Bazel now also supports $(rootpath) to obtain the root-relative path (i.e., for runfiles locations), and $(execpath) to obtain the exec path (i.e., for build-time locations) PiperOrigin-RevId: 174454119
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions