diff --git a/tsl/platform/BUILD b/tsl/platform/BUILD index bca6e46b8..2e1b4c511 100644 --- a/tsl/platform/BUILD +++ b/tsl/platform/BUILD @@ -353,7 +353,6 @@ filegroup( "init_main.h", "mem.h", "net.h", - "notification.h", "null_file_system.h", "numa.h", "path.h", @@ -483,7 +482,6 @@ filegroup( srcs = [ "error_logging.h", "fingerprint.h", - "notification.h", "random.cc", "random.h", "test_benchmark.h", @@ -1139,17 +1137,6 @@ cc_library( alwayslink = 1, ) -cc_library( - name = "notification", - hdrs = ["notification.h"], - compatible_with = get_compatible_with_portable(), - deps = [ - "@com_google_absl//absl/base:core_headers", - "@com_google_absl//absl/synchronization", - "@com_google_absl//absl/time", - ], -) - cc_library( name = "threadpool_options", hdrs = ["threadpool_options.h"], diff --git a/tsl/platform/notification.h b/tsl/platform/notification.h deleted file mode 100644 index 55627f589..000000000 --- a/tsl/platform/notification.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -==============================================================================*/ - -#ifndef TENSORFLOW_TSL_PLATFORM_NOTIFICATION_H_ -#define TENSORFLOW_TSL_PLATFORM_NOTIFICATION_H_ - -#include // NOLINT -#include // NOLINT -#include -#include // NOLINT - -#include "absl/base/macros.h" -#include "absl/synchronization/notification.h" -#include "absl/time/time.h" - -namespace tsl { - -using Notification ABSL_DEPRECATE_AND_INLINE() = absl::Notification; - -} // namespace tsl - -#endif // TENSORFLOW_TSL_PLATFORM_NOTIFICATION_H_