diff options
author | Jason Zaman <jason@perfinion.com> | 2018-09-04 15:01:22 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2018-09-05 21:26:18 +0800 |
commit | 39e324505c380c9d449dc31d34629a9d470c765f (patch) | |
tree | abcaf280e403cd2412fd7916ebc80e52e06d1626 /tensorflow/cc | |
parent | ffaab58cad72e177ada0e7d1d3724de63032928d (diff) |
Add //tensorflow:install_headers target
Used to prepare all the header files so they can easily be installed
into /usr/include when packaging TF.
Signed-off-by: Jason Zaman <jason@perfinion.com>
Diffstat (limited to 'tensorflow/cc')
-rw-r--r-- | tensorflow/cc/BUILD | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/tensorflow/cc/BUILD b/tensorflow/cc/BUILD index f56521dac0..b587e63227 100644 --- a/tensorflow/cc/BUILD +++ b/tensorflow/cc/BUILD @@ -10,11 +10,12 @@ licenses(["notice"]) # Apache 2.0 load( "//tensorflow:tensorflow.bzl", - "tf_cc_test", + "cc_library_with_android_deps", "tf_cc_binary", + "tf_cc_test", "tf_copts", "tf_gen_op_wrappers_cc", - "cc_library_with_android_deps", + "transitive_hdrs", ) cc_library( @@ -716,3 +717,26 @@ tf_cc_test( "//tensorflow/core:testlib", ], ) + +transitive_hdrs( + name = "headers", + visibility = ["//tensorflow:__subpackages__"], + deps = [ + ":cc_ops", + ":client_session", + ":coordinator", + ":gradient_checker", + ":gradients", + ":ops", + ":queue_runner", + ":remote_fused_graph_ops", + ":scope", + "//tensorflow/cc/profiler", + "//tensorflow/cc/saved_model:constants", + "//tensorflow/cc/saved_model:loader", + "//tensorflow/cc/saved_model:reader", + "//tensorflow/cc/saved_model:signature_constants", + "//tensorflow/cc/saved_model:tag_constants", + "//tensorflow/cc/tools:freeze_saved_model", + ], +) |