aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/session_bundle
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-03-10 16:12:59 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-10 16:28:10 -0800
commiteb8bb9e461f669f299aa031634530995bc43f92b (patch)
tree44cc9cde668cf505684acd6f231a82a1be6271ff /tensorflow/contrib/session_bundle
parent1a833fb731d0daca9a10d55dc9d9f3c4dcaeaa1e (diff)
Replace all_files data dependencies of build_pip_package with py_library targets
Benefits of this CL: 1) Removes ~70 python unit test files from the pip wheel. 2) Makes it easier to track which files are included in the pip wheel through bazel queries. Change: 149810103
Diffstat (limited to 'tensorflow/contrib/session_bundle')
-rw-r--r--tensorflow/contrib/session_bundle/BUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/tensorflow/contrib/session_bundle/BUILD b/tensorflow/contrib/session_bundle/BUILD
index 93b6a1a609..45dcd8980f 100644
--- a/tensorflow/contrib/session_bundle/BUILD
+++ b/tensorflow/contrib/session_bundle/BUILD
@@ -41,6 +41,16 @@ filegroup(
]),
)
+# Transitive dependencies of this target will be included in the pip package.
+py_library(
+ name = "session_bundle_pip",
+ deps = [
+ ":bundle_shim_py",
+ ":exporter",
+ ":gc",
+ ],
+)
+
py_library(
name = "bundle_shim_py",
srcs = ["bundle_shim.py"],