aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/compat/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/compat/BUILD')
-rw-r--r--tensorflow/python/compat/BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/tensorflow/python/compat/BUILD b/tensorflow/python/compat/BUILD
new file mode 100644
index 0000000000..e0a1c8e057
--- /dev/null
+++ b/tensorflow/python/compat/BUILD
@@ -0,0 +1,23 @@
+licenses(["notice"]) # Apache 2.0
+
+exports_files(["LICENSE"])
+
+load("//tensorflow:tensorflow.bzl", "tf_py_test")
+
+py_library(
+ name = "compat",
+ srcs = ["compat.py"],
+ srcs_version = "PY2AND3",
+ visibility = ["//tensorflow:internal"],
+ deps = ["//tensorflow/python:util"],
+)
+
+tf_py_test(
+ name = "compat_test",
+ size = "small",
+ srcs = ["compat_test.py"],
+ additional_deps = [
+ ":compat",
+ "//tensorflow/python:client_testlib",
+ ],
+)