Skip to content

Commit

Permalink
Define package_groups in tsl/profiler as empty in OSS
Browse files Browse the repository at this point in the history
This is spiritually a no-op because `internal_visibility` was already rendering the visibility public in OSS, this lets us remove a copybara rule that worked around an incorrect package name in OSS.

PiperOrigin-RevId: 609148095
  • Loading branch information
ddunl authored and tensorflower-gardener committed Feb 21, 2024
1 parent 3012b4f commit 5975057
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions third_party/xla/third_party/tsl/opensource_only.files
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ tsl/mkl/BUILD:
tsl/mkl/LICENSE:
tsl/mkl/MKL_LICENSE:
tsl/mkl/build_defs.bzl:
tsl/profiler/BUILD:
13 changes: 0 additions & 13 deletions third_party/xla/third_party/tsl/tsl/profiler/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,16 @@

package_group(
name = "friends",
includes = ["//tsl:internal"],
)

package_group(
name = "internal",
packages = [
"//tensorflow/core/profiler/...",
"//tensorflow/python/eager/...",
"//tensorflow/python/profiler/...",
"//tensorflow/python/tpu/profiler/...",
"//tsl/profiler/...",
"//xla/backends/profiler/...",
],
)

package_group(
name = "xla_profiler_backends",
packages = ["//xla/backends/profiler/..."],
)

package_group(
name = "xla_internal",
packages = [
"//xla/...",
],
)

0 comments on commit 5975057

Please sign in to comment.