aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-11 11:09:16 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-11 11:12:54 -0700
commit158cd6220231fcf758a45c2dcd40d93cd0aec9e0 (patch)
tree5dab4860d7d691344a348781a907db2514c73f43 /tensorflow/core/platform
parent135e419e780423a888ddd45e479129493336c52b (diff)
Split out lib/png into a separate library from the rest of TensorFlow to avoid
unnecessary transitive dependencies. PiperOrigin-RevId: 204154526
Diffstat (limited to 'tensorflow/core/platform')
-rw-r--r--tensorflow/core/platform/default/build_config/BUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/tensorflow/core/platform/default/build_config/BUILD b/tensorflow/core/platform/default/build_config/BUILD
index c17e4810d5..da1f66dc67 100644
--- a/tensorflow/core/platform/default/build_config/BUILD
+++ b/tensorflow/core/platform/default/build_config/BUILD
@@ -146,7 +146,6 @@ cc_library(
"@farmhash_archive//:farmhash",
"@fft2d",
"@highwayhash//:sip_hash",
- "@png_archive//:png",
],
)
@@ -161,7 +160,7 @@ cc_library(
"@farmhash_archive//:farmhash",
"@fft2d",
"@highwayhash//:sip_hash",
- "@png_archive//:png",
+ "@zlib_archive//:zlib",
],
)
@@ -187,6 +186,15 @@ cc_library(
)
cc_library(
+ name = "png",
+ copts = tf_copts(),
+ deps = [
+ "@png_archive//:png",
+ "@zlib_archive//:zlib",
+ ],
+)
+
+cc_library(
name = "protos_cc_impl",
copts = tf_copts(),
deps = [