Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ sphinx_stardocs(
"//python:py_test_bzl",
"//python:repositories_bzl",
"//python/api:api_bzl",
"//python/api:attr_builders_bzl",
"//python/api:executables_bzl",
"//python/api:libraries_bzl",
"//python/api:rule_builders_bzl",
"//python/cc:py_cc_toolchain_bzl",
"//python/cc:py_cc_toolchain_info_bzl",
"//python/entry_points:py_console_script_binary_bzl",
Expand Down
12 changes: 12 additions & 0 deletions python/api/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ bzl_library(
deps = ["//python/private/api:api_bzl"],
)

bzl_library(
name = "attr_builders_bzl",
srcs = ["attr_builders.bzl"],
deps = ["//python/private:attr_builders_bzl"],
)

bzl_library(
name = "executables_bzl",
srcs = ["executables.bzl"],
Expand All @@ -45,6 +51,12 @@ bzl_library(
],
)

bzl_library(
name = "rule_builders_bzl",
srcs = ["rule_builders.bzl"],
deps = ["//python/private:rule_builders_bzl"],
)

filegroup(
name = "distribution",
srcs = glob(["**"]),
Expand Down
5 changes: 5 additions & 0 deletions python/api/attr_builders.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Public, attribute building APIs for Python rules."""

load("//python/private:attr_builders.bzl", _attrb = "attrb")

attrb = _attrb
5 changes: 5 additions & 0 deletions python/api/rule_builders.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Public, rule building APIs for Python rules."""

load("//python/private:rule_builders.bzl", _ruleb = "ruleb")

ruleb = _ruleb