Skip to content

Commit 4e3d01c

Browse files
authored
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
1 parent c0c08a3 commit 4e3d01c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

python/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ bzl_library(
7979
deps = ["//python/private:reexports_bzl"],
8080
)
8181

82+
bzl_library(
83+
name = "py_cc_link_params_info_bzl",
84+
srcs = ["py_cc_link_params_info.bzl"],
85+
)
86+
8287
bzl_library(
8388
name = "py_import_bzl",
8489
srcs = ["py_import.bzl"],

python/py_cc_link_params_info.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""Public entry point for PyCcLinkParamsInfo."""
2+
3+
PyCcLinkParamsInfo = PyCcLinkParamsProvider

tests/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ build_test(
2020
"//python:defs_bzl",
2121
"//python:proto_bzl",
2222
"//python:py_binary_bzl",
23+
"//python:py_cc_link_params_info_bzl",
2324
"//python:py_import_bzl",
2425
"//python:py_info_bzl",
2526
"//python:py_library_bzl",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy