Explicitly export files needed by other packages

PiperOrigin-RevId: 283880548
Change-Id: I802964f92f069ebb964dc7b4d3ae8e8baa5e0bea
This commit is contained in:
A. Unique TensorFlower 2019-12-04 18:18:39 -08:00 committed by TensorFlower Gardener
parent 6d5a4a87a4
commit b21d30f6aa
6 changed files with 19 additions and 2 deletions

View File

@ -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(

View File

@ -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

View File

@ -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",

View File

@ -9,6 +9,8 @@ package(
licenses = ["notice"], # Apache 2.0
)
exports_files(["logging.h"])
common_copts = ["-Wall"] + tflite_copts()
cc_library(

View File

@ -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"],

View File

@ -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",