1# TensorFlow API backwards compatibility tests. 2 3package( 4 default_visibility = ["//tensorflow/tools/api:__subpackages__"], 5) 6 7licenses(["notice"]) # Apache 2.0 8 9exports_files([ 10 "README.txt", 11 "API_UPDATE_WARNING.txt", 12]) 13 14load("//tensorflow:tensorflow.bzl", "tf_cc_binary") 15 16py_test( 17 name = "api_compatibility_test", 18 srcs = ["api_compatibility_test.py"], 19 data = [ 20 "//tensorflow/tools/api/golden:api_golden_v1", 21 "//tensorflow/tools/api/golden:api_golden_v2", 22 "//tensorflow/tools/api/tests:API_UPDATE_WARNING.txt", 23 "//tensorflow/tools/api/tests:README.txt", 24 ], 25 srcs_version = "PY2AND3", 26 tags = ["no_rocm"], 27 deps = [ 28 "//tensorflow:tensorflow_py", 29 "//tensorflow/python:client_testlib", 30 "//tensorflow/python:lib", 31 "//tensorflow/python:platform", 32 "//tensorflow/tools/api/lib:python_object_to_proto_visitor", 33 "//tensorflow/tools/common:public_api", 34 "//tensorflow/tools/common:traverse", 35 "@six_archive//:six", 36 ], 37) 38 39tf_cc_binary( 40 name = "convert_from_multiline", 41 srcs = ["convert_from_multiline.cc"], 42 deps = [ 43 "//tensorflow/core:lib", 44 "//tensorflow/core:op_gen_lib", 45 ], 46) 47