Commit 8d7645e
authored
fix: add missing
This allows depending on just e.g. `//python:defs_bzl` without having to
also depend on our internal //docs targets or manually including the
extra bazel_tools files.
The missing files were hidden by the doc tests because those tests
manually include the extra files. Under the hood, it goes:
* defs.bzl ->
* py_runtime_pair.bzl ->
* @bazel_tools//tools/python:toolchain.bzl ->
* @bazel_tools//tools/python:private/defs.bzl ->
(Note the relationshps within @bazel_tools are Bazel-version specific)
Unfortunately, there isn't a public target for just the subset of files
we need from @bazel_tools, so we have to use the larger glob of all of
`@bazel_tools//tools`.@bazel_tools files to bzl_library dependencies. (#1457)1 parent 961e233 commit 8d7645e
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
0 commit comments