diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-03-19 02:14:33 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-19 02:15:53 -0700 |
commit | 1d69870fed02e63fe1a4b9e7c319e35bf620489d (patch) | |
tree | 1bdfeba22248fb7534987edb07b7aeefabc8a1be /scripts | |
parent | 3ef60b7cdcf8826102ec42a77183645ab0cafcf7 (diff) |
runfiles,C++: add a Runfiles* factory method
Implement Runfiles::Create method, which inspects
the RUNFILES_* envvars as well as the availability
of a runfiles manifest or -directory near argv[0],
and creates a Runfiles* object based on that.
Also add documentation and usage examples.
Subsequent commit will add integration tests.
See https://github.com/bazelbuild/bazel/issues/4460
Change-Id: I2aa433d460826999e698597205ae7663b0e84dd3
PiperOrigin-RevId: 189555342
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions