Create BUILD files and corresponding targets for tensorflow/core/lib/ssim/testdata/BUILD.

PiperOrigin-RevId: 342971963
Change-Id: Ia2ae38d2408428d05fdb3d104e7aceddd3e789d9
This commit is contained in:
Amit Patankar 2020-11-17 16:36:31 -08:00 committed by TensorFlower Gardener
parent 2fbed3b58e
commit 086faf6609
2 changed files with 20 additions and 8 deletions
tensorflow/core/lib/ssim
BUILD
testdata

View File

@ -1,5 +1,3 @@
load("//tensorflow:tensorflow.bzl", "filegroup")
package(
default_visibility = [
"//tensorflow/core:__pkg__",
@ -7,11 +5,7 @@ package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
alias(
name = "testdata",
srcs = [
"testdata/checkerboard1.png",
"testdata/checkerboard2.png",
"testdata/checkerboard3.png",
],
actual = "//tensorflow/core/lib/ssim/testdata:testdata",
)

18
tensorflow/core/lib/ssim/testdata/BUILD vendored Normal file
View File

@ -0,0 +1,18 @@
# The ssim testdata package.
load("//tensorflow:tensorflow.bzl", "filegroup")
package(
default_visibility = [
"//tensorflow/core/lib/ssim:__pkg__",
],
licenses = ["notice"], # Apache 2.0
)
filegroup(
name = "testdata",
srcs = [
"checkerboard1.png",
"checkerboard2.png",
"checkerboard3.png",
],
)