Remove visibility overrides in tensorflow/core/platform/BUILD.

This library is now fully public

PiperOrigin-RevId: 336577409
Change-Id: Id225bb81a971471406450c5146c24efb03041ea7
This commit is contained in:
Gunhan Gulsoy 2020-10-11 17:57:59 -07:00 committed by TensorFlower Gardener
parent 98400c0a6a
commit ac06f53498

View File

@ -389,8 +389,6 @@ cc_library(
name = "mutex",
compatible_with = get_compatible_with_portable(),
textual_hdrs = ["mutex.h"],
# TODO(b/161569340): Short-term fix. Remove this visibility rule.
visibility = ["//tensorflow:__subpackages__"],
deps = tf_platform_deps("mutex"),
)
@ -629,10 +627,6 @@ filegroup(
srcs = [
"stacktrace_handler.h",
],
visibility = [
"//tensorflow/core:__pkg__",
"//tensorflow/python:__pkg__",
],
)
cc_library(
@ -709,7 +703,6 @@ cc_library(
cc_library(
name = "strong_hash",
hdrs = ["strong_hash.h"],
visibility = ["//visibility:public"],
deps = [
":platform",
":types",
@ -810,11 +803,6 @@ cc_library(
name = "types",
hdrs = ["types.h"],
compatible_with = get_compatible_with_portable(),
# TODO(b/161569340): Short-term fix. Remove this visibility rule.
visibility = [
"//tensorflow:__subpackages__",
"//tensorflow_text:__subpackages__",
],
deps = [
":platform",
":bfloat16",
@ -947,7 +935,6 @@ tf_cuda_library(
"stream_executor.h",
],
features = ["-parse_headers"],
visibility = ["//tensorflow/core:__pkg__"],
deps = [
"//tensorflow/core/platform/default/build_config:stream_executor",
],
@ -962,7 +949,6 @@ cc_library(
"stream_executor_no_cuda.h",
],
features = ["-parse_headers"],
visibility = ["//tensorflow/core:__pkg__"],
deps = [
"//tensorflow/core/platform/default/build_config:stream_executor_no_cuda",
],
@ -977,7 +963,6 @@ cc_library(
"//tensorflow:windows": [],
"//conditions:default": ["-lm"],
}),
visibility = ["//tensorflow/core:__pkg__"],
deps = [
":platform",
":stacktrace_handler",