aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/BUILD
diff options
context:
space:
mode:
authorGravatar Skye Wanderman-Milne <skyewm@google.com>2018-03-27 11:54:26 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-27 11:57:32 -0700
commitaec2496567a7bfd508fc487dec474263b6a7481f (patch)
tree49c26c595aa68bb7c289aeec589385a04b87b576 /tensorflow/c/BUILD
parent5c1ad16bfd265da2268ab1820d411dfaeaca5e05 (diff)
Exclude Python C extension from tensorflow/c:srcs target.
The Python extensions aren't part of the official C API. PiperOrigin-RevId: 190649576
Diffstat (limited to 'tensorflow/c/BUILD')
-rw-r--r--tensorflow/c/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD
index 426f97b844..7f03e40d38 100644
--- a/tensorflow/c/BUILD
+++ b/tensorflow/c/BUILD
@@ -34,6 +34,8 @@ filegroup(
exclude = [
"c_api_experimental.cc",
"c_api_experimental.h",
+ "python_api.cc",
+ "python_api.h",
"*test*",
],
),