aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/BUILD
diff options
context:
space:
mode:
authorGravatar Mingxing Tan <tanmingxing@google.com>2018-06-21 12:03:01 -0700
committerGravatar Mingxing Tan <tanmingxing@google.com>2018-06-21 12:03:01 -0700
commitba86a8ed1e2b1617f40f25ad0107e8448e9e0848 (patch)
treeb9fed8c18eab093ec13279e2195d4137c7f4ada1 /tensorflow/BUILD
parent9d2d40079c273e8de8644136b452715c0146b907 (diff)
parent7b4080564c268a54a5c0b877b28e67faaadff268 (diff)
Merge commit for internal changes
Diffstat (limited to 'tensorflow/BUILD')
-rw-r--r--tensorflow/BUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/tensorflow/BUILD b/tensorflow/BUILD
index 4e212e96dc..a15d033013 100644
--- a/tensorflow/BUILD
+++ b/tensorflow/BUILD
@@ -404,6 +404,7 @@ config_setting(
package_group(
name = "internal",
packages = [
+ "-//third_party/tensorflow/python/estimator",
"//learning/meta_rank/...",
"//tensorflow/...",
"//tensorflow_fold/llgtm/...",
@@ -578,11 +579,20 @@ gen_api_init_files(
py_library(
name = "tensorflow_py",
- srcs = [
- ":tensorflow_python_api_gen",
- "//tensorflow/python/estimator/api:estimator_python_api_gen",
+ srcs = ["//tensorflow/python/estimator/api:estimator_python_api_gen"],
+ srcs_version = "PY2AND3",
+ visibility = ["//visibility:public"],
+ deps = [
+ ":tensorflow_py_no_contrib",
+ "//tensorflow/contrib:contrib_py",
+ "//tensorflow/python/estimator:estimator_py",
],
+)
+
+py_library(
+ name = "tensorflow_py_no_contrib",
+ srcs = [":tensorflow_python_api_gen"],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
- deps = ["//tensorflow/python"],
+ deps = ["//tensorflow/python:no_contrib"],
)