aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/lib_package
diff options
context:
space:
mode:
authorGravatar Saurabh Saxena <srbs@google.com>2017-03-30 11:52:01 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-30 13:05:46 -0700
commit63b2f999d3f22cfe915b89103faa1b0a1b1b7617 (patch)
tree593eed2cb1ab751cf9574e0a8ba804d20f661d93 /tensorflow/tools/lib_package
parent052e207e4f1076ac6b7464c01a67ecf4f986766d (diff)
Enable snappy.
Fix implicit type cast bug in snappy_inputbuffer. Bitwise OR of unsigned int and signed char can cause unexpected issues so we explicitly cast it to unsigned char. Change: 151737878
Diffstat (limited to 'tensorflow/tools/lib_package')
-rw-r--r--tensorflow/tools/lib_package/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/tools/lib_package/BUILD b/tensorflow/tools/lib_package/BUILD
index 77dfc5da3f..3e049724f6 100644
--- a/tensorflow/tools/lib_package/BUILD
+++ b/tensorflow/tools/lib_package/BUILD
@@ -93,6 +93,7 @@ genrule(
"@local_config_sycl//sycl:LICENSE.text",
"@png_archive//:LICENSE",
"@protobuf//:LICENSE",
+ "@snappy//:COPYING",
"@zlib_archive//:zlib.h",
],
outs = ["include/tensorflow/c/LICENSE"],
@@ -119,6 +120,7 @@ genrule(
"@local_config_sycl//sycl:LICENSE.text",
"@png_archive//:LICENSE",
"@protobuf//:LICENSE",
+ "@snappy//:COPYING",
"@zlib_archive//:zlib.h",
],
outs = ["include/tensorflow/jni/LICENSE"],