1# Helper libraries for TensorFlow API compatibility test. 2 3package( 4 default_visibility = ["//tensorflow/tools/api:__subpackages__"], 5) 6 7licenses(["notice"]) # Apache 2.0 8 9load( 10 "//tensorflow/core:platform/default/build_config.bzl", 11 "tf_proto_library", 12) 13 14tf_proto_library( 15 name = "api_objects_proto", 16 srcs = ["api_objects.proto"], 17) 18 19py_library( 20 name = "python_object_to_proto_visitor", 21 srcs = ["python_object_to_proto_visitor.py"], 22 srcs_version = "PY2AND3", 23 deps = [ 24 ":api_objects_proto_py", 25 "//tensorflow/python:platform", 26 "//tensorflow/python:util", 27 ], 28) 29 30filegroup( 31 name = "all_files", 32 srcs = glob( 33 ["**/*"], 34 exclude = [ 35 "**/METADATA", 36 "**/OWNERS", 37 ], 38 ), 39 visibility = ["//tensorflow:__subpackages__"], 40) 41