From 63ad7054ad3fc223f94bbb5d7a203b6d08eceb07 Mon Sep 17 00:00:00 2001 From: Manjunath Kudlur Date: Fri, 10 Feb 2017 17:47:06 -0800 Subject: 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 --- BUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'BUILD') diff --git a/BUILD b/BUILD index e69de29bb2..bfdd4772ff 100644 --- a/BUILD +++ b/BUILD @@ -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", + ], +) -- cgit v1.2.3