diff --git a/tensorflow/lite/c/BUILD b/tensorflow/lite/c/BUILD index 629320370cb..b3e231e8cb3 100644 --- a/tensorflow/lite/c/BUILD +++ b/tensorflow/lite/c/BUILD @@ -137,7 +137,10 @@ cc_library( ) # For use with library targets that can't use relative paths. -exports_files(["common.h"]) +exports_files([ + "c_api.h", + "common.h", +]) # Test the C extension API code. cc_test( diff --git a/tensorflow/lite/delegates/gpu/BUILD b/tensorflow/lite/delegates/gpu/BUILD index 4cfbeff2081..7faa83ae5ab 100644 --- a/tensorflow/lite/delegates/gpu/BUILD +++ b/tensorflow/lite/delegates/gpu/BUILD @@ -6,6 +6,8 @@ package( licenses = ["notice"], # Apache 2.0 ) +exports_files(["metal_delegate.h"]) + # Primary purpose of this config is to replace ::util::Status with our custom # light implementation ::tflite::gpu::StatusLite to reduce binary size. Besides # that, certain features that were hard to communicate without full open source diff --git a/tensorflow/lite/java/BUILD b/tensorflow/lite/java/BUILD index 08972941950..4cd3da9f843 100644 --- a/tensorflow/lite/java/BUILD +++ b/tensorflow/lite/java/BUILD @@ -11,6 +11,8 @@ package( licenses = ["notice"], # Apache 2.0 ) +exports_files(["src/testdata/add.bin"]) + JAVA_SRCS = glob([ "src/main/java/org/tensorflow/lite/*.java", "src/main/java/org/tensorflow/lite/annotations/*.java", diff --git a/tensorflow/lite/tools/benchmark/BUILD b/tensorflow/lite/tools/benchmark/BUILD index 4514ca8a2d3..97d021c6326 100644 --- a/tensorflow/lite/tools/benchmark/BUILD +++ b/tensorflow/lite/tools/benchmark/BUILD @@ -9,6 +9,8 @@ package( licenses = ["notice"], # Apache 2.0 ) +exports_files(["logging.h"]) + common_copts = ["-Wall"] + tflite_copts() cc_library( diff --git a/tensorflow/lite/tools/benchmark/experimental/c/BUILD b/tensorflow/lite/tools/benchmark/experimental/c/BUILD index 28bbd3fdfe6..2bd26e8e127 100644 --- a/tensorflow/lite/tools/benchmark/experimental/c/BUILD +++ b/tensorflow/lite/tools/benchmark/experimental/c/BUILD @@ -12,6 +12,11 @@ package_group( ], ) +exports_files( + ["benchmark_c_api.h"], + visibility = ["//tensorflow/lite/tools/benchmark/experimental/c:benchmark"], +) + cc_library( name = "benchmark_c_api", srcs = ["benchmark_c_api.cc"], diff --git a/tensorflow/python/kernel_tests/proto/BUILD b/tensorflow/python/kernel_tests/proto/BUILD index 75100a3ff38..389612c9827 100644 --- a/tensorflow/python/kernel_tests/proto/BUILD +++ b/tensorflow/python/kernel_tests/proto/BUILD @@ -10,7 +10,10 @@ package( licenses = ["notice"], # Apache 2.0 ) -exports_files(["LICENSE"]) +exports_files([ + "LICENSE", + "test_example.proto", +]) tf_py_test( name = "decode_proto_op_test",