8000 Adds visibility restriction to some XLA bzl files to prevent them fro… · linux-on-ibm-z/tensorflow@9f94996 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f94996

Browse files
Adds visibility restriction to some XLA bzl files to prevent them from being used outside of XLA, as they are internal implementation details.
This CL is not complete. It's the first step that establishes the mechanism. Once I get buy-in on the approach, I'll follow up with more CLs to add visibility restriction to the other XLA bazl files. PiperOrigin-RevId: 730484507
1 parent 200be96 commit 9f94996

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

third_party/xla/xla/BUILD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ exports_files([
2525

2626
xla_package_groups()
2727

28+
bzl_library(
29+
name = "package_groups_bzl",
30+
srcs = ["package_groups.bzl"],
31+
visibility = ["//visibility:public"],
32+
)
33+
2834
# Filegroup used to collect source files for dependency checking.
2935
filegroup(
3036
name = "c_srcs",

0 commit comments

Comments
 (0)
0