diff options
author | Manjunath Kudlur <keveman@google.com> | 2017-02-10 17:47:06 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-10 18:06:48 -0800 |
commit | 63ad7054ad3fc223f94bbb5d7a203b6d08eceb07 (patch) | |
tree | 1fe712c5c5423fe627422a88106bb201d4bf4955 /BUILD | |
parent | 83c857f34d907ff8c696a25ec4a3f47e38e2fb40 (diff) |
Replace dependency on entire proto library with just the headers for contrib.
- Linking a version of the entire proto library with every .so is wasteful.
- Causes duplicate destruction of the static initialized objects causing
non-deterministic crashes.
Change: 147220106
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +# Description: +# TensorFlow is an open source software library for numerical computation using +# data flow graphs. + +package( + default_visibility = [ + "//tensorflow:internal", + "//tensorflow_models:__subpackages__", + ], +) + +licenses(["notice"]) # Apache 2.0 + +exports_files(["LICENSE"]) + +load( + "//tensorflow:tensorflow.bzl", + "cc_header_only_library", +) + +cc_header_only_library( + name = "protobuf_headers", + includes = ["external/protobuf/src"], + visibility = ["//visibility:public"], + deps = [ + "@protobuf//:protobuf", + ], +) |