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

PiperOrigin-RevId: 343323399
Change-Id: Ibcfc220b2c91185d57e70dbe5ec5bb068905b957
This commit is contained in:
Amit Patankar 2020-11-19 10:46:57 -08:00 committed by TensorFlower Gardener
parent d2504636c4
commit 6de8d69b23
2 changed files with 27 additions and 15 deletions

View File

@ -1,24 +1,12 @@
# Description:
# bmp test data packages.
load("//tensorflow:tensorflow.bzl", "filegroup")
# bmp test data package alias.
package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
alias(
name = "bmp_testdata",
srcs = [
# BMP data
"testdata/lena.bmp",
"testdata/rgb_small.bmp",
"testdata/rgb_small_255.bmp",
"testdata/rgba_small.bmp",
"testdata/rgba_small_255.bmp",
"testdata/grayscale_small.bmp",
"testdata/grayscale_small_3channels.bmp",
"testdata/grayscale_small_4channels.bmp",
],
actual = "//tensorflow/core/lib/bmp/testdata:bmp_testdata",
visibility = ["//visibility:public"],
)

24
tensorflow/core/lib/bmp/testdata/BUILD vendored Normal file
View File

@ -0,0 +1,24 @@
# Description:
# bmp test data packages.
load("//tensorflow:tensorflow.bzl", "filegroup")
package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
name = "bmp_testdata",
srcs = [
# BMP data
"lena.bmp",
"rgb_small.bmp",
"rgb_small_255.bmp",
"rgba_small.bmp",
"rgba_small_255.bmp",
"grayscale_small.bmp",
"grayscale_small_3channels.bmp",
"grayscale_small_4channels.bmp",
],
visibility = ["//visibility:public"],
)