From 6346bb96b1a6bcc397b1b8724593b22850fa507b Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy <gunan@google.com> Date: Tue, 31 Mar 2020 12:13:35 -0700 Subject: [PATCH] Change the tensorflow/c*status* headers to depend on tensorflow/core/platform/status This is just header dependency, build dependency change requires cc_shared_library feature from bazel. PiperOrigin-RevId: 304018587 Change-Id: I14ef8e80648546e07ddf45b5caa6c770824120b7 --- tensorflow/c/tf_status.cc | 2 +- tensorflow/c/tf_status_helper.h | 2 +- tensorflow/c/tf_status_helper_test.cc | 2 +- tensorflow/c/tf_status_internal.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tensorflow/c/tf_status.cc b/tensorflow/c/tf_status.cc index 3144f2c1900..8db826627b4 100644 --- a/tensorflow/c/tf_status.cc +++ b/tensorflow/c/tf_status.cc @@ -16,8 +16,8 @@ limitations under the License. #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_internal.h" -#include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/error.h" +#include "tensorflow/core/platform/status.h" using ::tensorflow::IOError; using ::tensorflow::Status; diff --git a/tensorflow/c/tf_status_helper.h b/tensorflow/c/tf_status_helper.h index 7e52049445b..ff8085f1229 100644 --- a/tensorflow/c/tf_status_helper.h +++ b/tensorflow/c/tf_status_helper.h @@ -17,7 +17,7 @@ limitations under the License. #define TENSORFLOW_C_TF_STATUS_HELPER_H_ #include "tensorflow/c/tf_status.h" -#include "tensorflow/core/lib/core/status.h" +#include "tensorflow/core/platform/status.h" namespace tensorflow { diff --git a/tensorflow/c/tf_status_helper_test.cc b/tensorflow/c/tf_status_helper_test.cc index ab945ccfd00..60780d74b21 100644 --- a/tensorflow/c/tf_status_helper_test.cc +++ b/tensorflow/c/tf_status_helper_test.cc @@ -15,7 +15,7 @@ limitations under the License. #include "tensorflow/c/tf_status_helper.h" -#include "tensorflow/core/lib/core/errors.h" +#include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { diff --git a/tensorflow/c/tf_status_internal.h b/tensorflow/c/tf_status_internal.h index 66ca9938f0c..1e0f99819ff 100644 --- a/tensorflow/c/tf_status_internal.h +++ b/tensorflow/c/tf_status_internal.h @@ -16,7 +16,7 @@ limitations under the License. #ifndef TENSORFLOW_C_TF_STATUS_INTERNAL_H_ #define TENSORFLOW_C_TF_STATUS_INTERNAL_H_ -#include "tensorflow/core/lib/core/status.h" +#include "tensorflow/core/platform/status.h" // Internal structures used by the status C API. These are likely to change // and should not be depended on.