From 0654c7829baabdc6ac390c63ca922eb2c233a4c0 Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Sat, 30 Nov 2019 15:49:44 -0800 Subject: [PATCH] Remove dependencies on core/lib/hash under tensorflow/core/platform. The library has moved to core/platform. PiperOrigin-RevId: 283169462 Change-Id: I409fabd04bd5254ff94d3129ebcd399a5cbc15ab --- tensorflow/core/platform/default/build_refactor.bzl | 1 + tensorflow/core/platform/tracing.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tensorflow/core/platform/default/build_refactor.bzl b/tensorflow/core/platform/default/build_refactor.bzl index 5dbada0a08e..303a22cdde2 100644 --- a/tensorflow/core/platform/default/build_refactor.bzl +++ b/tensorflow/core/platform/default/build_refactor.bzl @@ -342,6 +342,7 @@ TF_DEFAULT_PLATFORM_LIBRARIES = { "deps": [ "//tensorflow/core/lib/hash", "//tensorflow/core/platform", + "//tensorflow/core/platform:hash", "//tensorflow/core/platform:logging", "//tensorflow/core/platform:macros", "//tensorflow/core/platform:strcat", diff --git a/tensorflow/core/platform/tracing.cc b/tensorflow/core/platform/tracing.cc index 30aa664ae01..a7745903d4b 100644 --- a/tensorflow/core/platform/tracing.cc +++ b/tensorflow/core/platform/tracing.cc @@ -18,7 +18,7 @@ limitations under the License. #include #include -#include "tensorflow/core/lib/hash/hash.h" +#include "tensorflow/core/platform/hash.h" namespace tensorflow { namespace tracing {