From 021de874f4c8eacb67dc9f90cc0e388a042af0f1 Mon Sep 17 00:00:00 2001
From: Yong Tang <yong.tang.github@outlook.com>
Date: Sun, 8 Nov 2020 18:46:45 +0000
Subject: [PATCH] Expose Logging C API in pip package

While working on modular file systems, noticed that the logging
C API headers are not included in tensorflow pip packages.

This limit the ability for plugins to add logging in the file system.

This PR adds logging C API header in pip package.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
---
 tensorflow/c/BUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD
index 3f4d70ed60e..50825086443 100644
--- a/tensorflow/c/BUILD
+++ b/tensorflow/c/BUILD
@@ -199,6 +199,7 @@ tf_cuda_library(
             "//tensorflow/core:portable_tensorflow_lib_lite",
         ],
         "//conditions:default": [
+            ":logging",
             ":tf_status",
             ":tf_tensor",
             "@com_google_absl//absl/strings",