-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Python runfiles libraries out of Bazel
The Python libraries in @bazel_tools are replaced with aliases to @rules_python//python/runfiles. This requires skipping load visibility checks for resolved WORKSPACE files, which are going away anyway. Closes #24219. PiperOrigin-RevId: 727910063 Change-Id: I8323378b8688ed1a95b0ff014d00fbee42267536
- Loading branch information
1 parent
1d104b9
commit 72baf24
Showing
5 changed files
with
10 additions
and
718 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
load("//tools/python:gen_runfiles_constants.bzl", "gen_runfiles_constants") | ||
load("@rules_python//python:defs.bzl", "py_library") | ||
|
||
py_library( | ||
name = "runfiles", | ||
srcs = [ | ||
"runfiles.py", | ||
":_runfiles_constants", | ||
], | ||
deps = [ | ||
"@rules_python//python/runfiles", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
gen_runfiles_constants( | ||
name = "_runfiles_constants", | ||
) |
Oops, something went wrong.