diff options
author | Mingsheng Hong <hongm@google.com> | 2018-03-22 20:51:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-22 20:54:37 -0700 |
commit | 0191d264a6e3da12ff7db5ba8002fed6356f071b (patch) | |
tree | 1e974458c633f2f64e3a6d6165e66905c7605083 /tensorflow/c/BUILD | |
parent | 72f48771ea4fce68af893bcda862ca390a0e6b70 (diff) |
Added experimental C APIs to build a hard-coded stack of dataset + iterator.
PiperOrigin-RevId: 190170332
Diffstat (limited to 'tensorflow/c/BUILD')
-rw-r--r-- | tensorflow/c/BUILD | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD index 4332f44e5d..d096647558 100644 --- a/tensorflow/c/BUILD +++ b/tensorflow/c/BUILD @@ -217,6 +217,25 @@ tf_cuda_cc_test( ) tf_cc_test( + name = "c_api_experimental_test", + size = "small", + srcs = ["c_api_experimental_test.cc"], + linkopts = select({ + "//tensorflow:darwin": ["-headerpad_max_install_names"], + "//conditions:default": [], + }), + # We must ensure that the dependencies can be dynamically linked since + # the shared library must be able to use core:framework. + # linkstatic = tf_kernel_tests_linkstatic(), + deps = [ + ":c_api_experimental", + ":c_test_util", + "//tensorflow/core:test", + "//tensorflow/core:test_main", + ], +) + +tf_cc_test( name = "c_api_function_test", size = "small", srcs = ["c_api_function_test.cc"], |