diff --git a/tensorflow/core/example/BUILD b/tensorflow/core/example/BUILD index 19521c0ea82..752a3641b09 100644 --- a/tensorflow/core/example/BUILD +++ b/tensorflow/core/example/BUILD @@ -83,11 +83,9 @@ tf_cc_test( ], ) -filegroup( +alias( name = "example_parser_configuration_testdata", - srcs = [ - "testdata/parse_example_graph_def.pbtxt", - ], + actual = "//tensorflow/core/example/testdata:example_parser_configuration_testdata", ) tf_proto_library( diff --git a/tensorflow/core/example/testdata/BUILD b/tensorflow/core/example/testdata/BUILD new file mode 100644 index 00000000000..5b021e95762 --- /dev/null +++ b/tensorflow/core/example/testdata/BUILD @@ -0,0 +1,15 @@ +# Example parser test data. + +package( + default_visibility = [ + "//tensorflow/core/example:__pkg__", + ], + licenses = ["notice"], # Apache 2.0 +) + +filegroup( + name = "example_parser_configuration_testdata", + srcs = [ + "parse_example_graph_def.pbtxt", + ], +)