aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Wieder <bwieder@google.com>2023-04-28 15:29:57 -0700
committerTensorFlower Gardener <gardener@tensorflow.org>2023-04-28 15:35:28 -0700
commit82d910e66fa14fbf212726ec62d1e5f44ad0bda2 (patch)
treea39ad62e7fc3912292a2b199a90a96ef716ec579
parent7cabf94ea9e122ebbd237793223b9b61870a867e (diff)
downloadtensorflow-82d910e66fa14fbf212726ec62d1e5f44ad0bda2.tar.gz
Delete `tensorflow/python/platform` glob now that it is no longer used.
PiperOrigin-RevId: 528001244
-rw-r--r--tensorflow/python/BUILD11
-rw-r--r--tensorflow/python/platform/BUILD34
2 files changed, 0 insertions, 45 deletions
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD
index d0cec0b0495..6c8d5b55cfd 100644
--- a/tensorflow/python/BUILD
+++ b/tensorflow/python/BUILD
@@ -5103,17 +5103,6 @@ py_library(
)
alias(
- name = "platform",
- actual = "//tensorflow/python/platform:platform",
- deprecation = "This target has been split. Depend on the sub-targets instead.",
- visibility = [
- "//third_party/py/tf_slim:__pkg__",
- "//third_party/py/tf_slim/data:__pkg__",
- "//third_party/py/tf_slim/training:__pkg__",
- ],
-)
-
-alias(
name = "client_testlib",
actual = "//tensorflow/python/platform:client_testlib",
)
diff --git a/tensorflow/python/platform/BUILD b/tensorflow/python/platform/BUILD
index cb6315beb43..66d3f9a6f29 100644
--- a/tensorflow/python/platform/BUILD
+++ b/tensorflow/python/platform/BUILD
@@ -31,40 +31,6 @@ py_strict_library(
srcs_version = "PY3",
)
-py_library(
- name = "platform",
- srcs = glob(
- [
- "*.py",
- ],
- exclude = [
- "*test.py",
- "benchmark.py", # In platform_benchmark.
- "analytics.py", # In platform_analytics.
- "device_context.py", # In platform_device_context.
- "self_check.py", # In self_check
- ],
- ) + ["build_info.py"],
- deprecation = "This target has been split. Depend on the sub-targets instead.",
- srcs_version = "PY3",
- visibility = ["//tensorflow/python:__pkg__"],
- deps = [
- ":_pywrap_cpu_feature_guard",
- ":build_info",
- "//tensorflow/core:protos_all_py",
- "//tensorflow/python:pywrap_tfe",
- "//tensorflow/python/lib/io:lib",
- "//tensorflow/python/util:_pywrap_util_port",
- "//tensorflow/python/util:deprecation",
- "//tensorflow/python/util:tf_decorator",
- "//tensorflow/python/util:tf_export",
- "@absl_py//absl:app",
- "@absl_py//absl/flags",
- "@absl_py//absl/logging",
- "@rules_python//python/runfiles",
- ],
-)
-
py_strict_library(
name = "self_check",
srcs = ["self_check.py"],