aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/create_embedded_tools.py
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-02-05 05:24:34 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-05 05:25:54 -0800
commita610a2b77893ed9edd3038cffe803bce68f83a80 (patch)
treee24dddc2d457ffdb908b3326f05748876c9955ef /src/create_embedded_tools.py
parent17830c25a816d67ba79e783acaa6a085b516bd43 (diff)
python,runfiles: runfiles library in @bazel_tools
Also update the Python stub script template to set $RUNFILES_MANIFEST_FILE or $RUNFILES_DIR so the runfiles library only needs to look for those. See https://github.com/bazelbuild/bazel/issues/4460 RELNOTES[NEW]: python,runfiles: You can now depend on `@bazel_tools//tools/runfiles:py-runfiles` to get a platform-independent runfiles library for Python. See DocString of https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles/runfiles.py for usage information. Change-Id: I4f68a11cb59f2782e5203e39fe60cc66b46023a2 PiperOrigin-RevId: 184515490
Diffstat (limited to 'src/create_embedded_tools.py')
-rw-r--r--src/create_embedded_tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/create_embedded_tools.py b/src/create_embedded_tools.py
index 352069c411..0bcbdefe21 100644
--- a/src/create_embedded_tools.py
+++ b/src/create_embedded_tools.py
@@ -44,6 +44,7 @@ output_paths = [
lambda x: 'tools/jdk/ExperimentalTestRunner_deploy.jar'),
('*Runner_deploy.jar', lambda x: 'tools/jdk/TestRunner_deploy.jar'),
('*singlejar', lambda x: 'tools/jdk/singlejar/singlejar'),
+ ('src/tools/runfiles/runfiles.py', lambda x: 'tools/runfiles/runfiles.py'),
('*launcher.exe', lambda x: 'tools/launcher/launcher.exe'),
('*def_parser.exe', lambda x: 'tools/def_parser/def_parser.exe'),
('*ijar.exe', lambda x: 'tools/jdk/ijar/ijar.exe'),