feat: add public entry point for PyCcLinkParamsInfo (#1128)
This provides a public entry point for loading the underlying
`PyCcLinkParamsProvider` provider that is built into Bazel. This
provider isn't yet usable from Bazel, but adding a loadable way for it
to migrate off the built-in rules is the first step.
Work towards #1069
diff --git a/python/BUILD.bazel b/python/BUILD.bazel
index 4d75b78..a524d2f 100644
--- a/python/BUILD.bazel
+++ b/python/BUILD.bazel
@@ -80,6 +80,11 @@
)
bzl_library(
+ name = "py_cc_link_params_info_bzl",
+ srcs = ["py_cc_link_params_info.bzl"],
+)
+
+bzl_library(
name = "py_import_bzl",
srcs = ["py_import.bzl"],
deps = [":py_info_bzl"],
diff --git a/python/py_cc_link_params_info.bzl b/python/py_cc_link_params_info.bzl
new file mode 100644
index 0000000..0ebd64b
--- /dev/null
+++ b/python/py_cc_link_params_info.bzl
@@ -0,0 +1,3 @@
+"""Public entry point for PyCcLinkParamsInfo."""
+
+PyCcLinkParamsInfo = PyCcLinkParamsProvider
diff --git a/tests/BUILD.bazel b/tests/BUILD.bazel
index a196d2a..abbe62d 100644
--- a/tests/BUILD.bazel
+++ b/tests/BUILD.bazel
@@ -20,6 +20,7 @@
"//python:defs_bzl",
"//python:proto_bzl",
"//python:py_binary_bzl",
+ "//python:py_cc_link_params_info_bzl",
"//python:py_import_bzl",
"//python:py_info_bzl",
"//python:py_library_bzl",