aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/BUILD
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-09-26 18:18:38 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-26 18:21:39 -0700
commit3fdee6b8f1199042046ea7851898b17fb3a4c0a8 (patch)
tree74c48f39584f27eebf55e7de77fe55a6f8c9af1e /tensorflow/core/BUILD
parent0c573ae93b3013b91d8d2493a1daed56d11ccc98 (diff)
Refactor build deps by making :framework depend on :feature_util to not use the same source dependency twice.
PiperOrigin-RevId: 214704620
Diffstat (limited to 'tensorflow/core/BUILD')
-rw-r--r--tensorflow/core/BUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index d85cb379bb..8bf53958b6 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -707,14 +707,11 @@ cc_library(
cc_library(
name = "feature_util",
srcs = ["example/feature_util.cc"],
- hdrs = [
- "example/feature_util.h",
- "platform/types.h",
- ],
+ hdrs = ["example/feature_util.h"],
visibility = ["//visibility:public"],
deps = [
":core_stringpiece",
- ":platform_protobuf",
+ ":lib_proto_parsing",
":protos_all_cc",
],
)
@@ -2561,6 +2558,7 @@ tf_cuda_library(
"**/*test*",
"**/*main.cc",
"example/example_parser_configuration.*",
+ "example/feature_util.cc",
"util/reporter.cc",
"framework/fake_input.*",
"framework/op_gen_lib.*",
@@ -2590,6 +2588,7 @@ tf_cuda_library(
],
}),
deps = [
+ ":feature_util",
":lib",
":lib_internal",
":protos_all_proto_text",