Add win_def_file attribute for tensorflow/python:pywrap_tensorflow_internal
authorYun Peng <pcloudy@google.com>
Thu, 5 Apr 2018 21:32:05 +0000 (23:32 +0200)
committerYun Peng <pcloudy@google.com>
Thu, 5 Apr 2018 21:44:37 +0000 (23:44 +0200)
This attribute is somehow missing when pushing for internal to github.

This should fix the TensorFlow Bazel postsubmit for github.

tensorflow/python/BUILD

index 6ec8a1c..a8f1318 100644 (file)
@@ -3343,6 +3343,10 @@ tf_py_wrap_cc(
         "util/transform_graph.i",
         "util/util.i",
     ],
+    win_def_file = select({
+        "//tensorflow:windows": ":pywrap_tensorflow_filtered_def_file",
+        "//conditions:default": None,
+    }),
     deps = [
         ":bfloat16_lib",
         ":cost_analyzer_lib",