Exclude Python C extension from tensorflow/c:srcs target.
authorSkye Wanderman-Milne <skyewm@google.com>
Tue, 27 Mar 2018 18:54:26 +0000 (11:54 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 27 Mar 2018 18:57:32 +0000 (11:57 -0700)
The Python extensions aren't part of the official C API.

PiperOrigin-RevId: 190649576

tensorflow/c/BUILD

index 426f97b..7f03e40 100644 (file)
@@ -34,6 +34,8 @@ filegroup(
         exclude = [
             "c_api_experimental.cc",
             "c_api_experimental.h",
+            "python_api.cc",
+            "python_api.h",
             "*test*",
         ],
     ),