Create BUILD files and corresponding targets for tensorflow/core/data/service/testdata.

PiperOrigin-RevId: 343394129
Change-Id: I9a9a4d05faf510e342929db57b43b79fe90ac9b6
This commit is contained in:
Amit Patankar 2020-11-19 16:32:21 -08:00 committed by TensorFlower Gardener
parent e8d31345b3
commit b33990f2bd
2 changed files with 15 additions and 1 deletions

View File

@ -393,7 +393,7 @@ cc_library(
hdrs = [ hdrs = [
"test_util.h", "test_util.h",
], ],
data = glob(["testdata/*.pbtxt"]), data = ["//tensorflow/core/data/service/testdata"],
deps = [ deps = [
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",

View File

@ -0,0 +1,14 @@
# Description:
# Data service test data.
load("//tensorflow:tensorflow.bzl", "filegroup")
package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
name = "testdata",
srcs = glob(["*.pbtxt"]),
visibility = ["//tensorflow/core/data/service:__pkg__"],
)