aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/codegen.BUILD
diff options
context:
space:
mode:
authorGravatar Mark Daoust <markdaoust@google.com>2017-06-19 14:23:24 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-19 14:27:13 -0700
commitba7b03f26f60a428c440c9042adf2643d01f73e5 (patch)
treeea3c66a9c7f62de0bb7934f520af039557f49846 /third_party/codegen.BUILD
parent3b41352a3177c2fe8a1329e8981b285bb6aacf8b (diff)
Install codegen in bazel workspace to allow docs tests to run.
PiperOrigin-RevId: 159477794
Diffstat (limited to 'third_party/codegen.BUILD')
-rw-r--r--third_party/codegen.BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/codegen.BUILD b/third_party/codegen.BUILD
new file mode 100644
index 0000000000..df436c8163
--- /dev/null
+++ b/third_party/codegen.BUILD
@@ -0,0 +1,16 @@
+# -*- mode: python; -*-
+#
+# Description:
+# Extension to ast that allow ast -> python code generation.
+
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # New BSD
+
+exports_files(["LICENSE"])
+
+py_library(
+ name = "com_github_andreif_codegen",
+ srcs = glob(["codegen.py"]),
+ srcs_version = "PY2AND3",
+)