diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2022-08-24 18:23:22 -0700 |
---|---|---|
committer | TensorFlow Release Automation <jenkins@tensorflow.org> | 2022-08-25 08:44:43 +0000 |
commit | 61133313306341663460f0e9b65871220c96a88c (patch) | |
tree | c32c5b7ec41f70c059abce1ab17b71953caa7ac4 | |
parent | f5411e998c29fc0ec2bc8ff072782bf85aad7234 (diff) | |
download | tensorflow-upstream-r2.10-2be1006c8df.tar.gz |
Exports multiple targets including //third_party/tensorflow/cc:client_session and //third_party/tensorflow/cc:scope from libtensorflow_cc.so to make relevant symbols available for downstream projects including TFDF.upstream-r2.10-2be1006c8df
PiperOrigin-RevId: 469873962
-rw-r--r-- | tensorflow/BUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tensorflow/BUILD b/tensorflow/BUILD index cf97153fe06..19ee8000206 100644 --- a/tensorflow/BUILD +++ b/tensorflow/BUILD @@ -1176,12 +1176,16 @@ tf_cc_shared_library( ], }), per_os_targets = True, + roots = [ + "//tensorflow/cc:cc_ops", + "//tensorflow/cc:client_session", + "//tensorflow/cc:const_op", + "//tensorflow/cc:scope", + ], soversion = VERSION, static_deps = PACKAGE_STATIC_DEPS, visibility = ["//visibility:public"], - # copybara:comment_begin(OSS Windows only: DEF file for exported symbols) win_def_file = ":tensorflow_filtered_def_file", - # copybara:comment_end deps = [ "//tensorflow/c:c_api", "//tensorflow/c:env", @@ -1192,9 +1196,6 @@ tf_cc_shared_library( "//tensorflow/c/eager:c_api", "//tensorflow/c/experimental/filesystem:filesystem_interface", "//tensorflow/c/experimental/stream_executor:stream_executor", - "//tensorflow/cc:cc_ops", - "//tensorflow/cc:client_session", - "//tensorflow/cc:scope", "//tensorflow/cc/saved_model:fingerprinting_impl", "//tensorflow/cc/saved_model:loader_lite_impl", "//tensorflow/cc/saved_model:metrics_impl", |