1- load ("@bazel_skylib //:bzl_library.bzl" , "bzl_library" )
1+ load ("@bazel_lib //:bzl_library.bzl" , "bzl_library" )
22load ("@bazel_skylib//rules:common_settings.bzl" , "string_flag" )
33
44# For stardoc to reference the files
@@ -19,6 +19,7 @@ bzl_library(
1919 visibility = ["//visibility:public" ],
2020 deps = [
2121 "//py/private/toolchain:autodetecting" ,
22+ "@bazel_tools//tools/build_defs/repo:cache.bzl" ,
2223 "@bazel_tools//tools/build_defs/repo:http.bzl" ,
2324 "@bazel_tools//tools/build_defs/repo:utils.bzl" ,
2425 ],
@@ -42,3 +43,32 @@ bzl_library(
4243 "@aspect_bazel_lib//lib:utils" ,
4344 ],
4445)
46+
47+ # This needs to dep on @aspect_tools_telemetry_report but we don't have that in WORKSPACE
48+ # gazelle:exclude extensions.bzl
49+ # bzl_library(
50+ # name = "extensions",
51+ # srcs = [
52+ # "extensions.bzl",
53+ # "@aspect_tools_telemetry_report//:defs.bzl",
54+ # ],
55+ # visibility = ["//visibility:public"],
56+ # deps = [
57+ # ":toolchains",
58+ # "//tools:version",
59+ # ],
60+ # )
61+
62+ bzl_library (
63+ name = "toolchains" ,
64+ srcs = ["toolchains.bzl" ],
65+ visibility = ["//visibility:public" ],
66+ deps = [
67+ "//py/private/toolchain:autodetecting" ,
68+ "//py/private/toolchain:repo" ,
69+ "//py/private/toolchain:tools" ,
70+ "//tools:version" ,
71+ "@aspect_bazel_lib//lib:repositories" ,
72+ "@bazel_tools//tools/build_defs/repo:http.bzl" ,
73+ ],
74+ )
0 commit comments