1# Description: 2# Go API for TensorFlow. 3 4load( 5 "//tensorflow:tensorflow.bzl", 6 "tf_shared_library_deps", 7) 8 9package( 10 default_visibility = ["//visibility:private"], 11) 12 13licenses(["notice"]) # Apache 2.0 14 15sh_test( 16 name = "test", 17 size = "small", 18 srcs = ["test.sh"], 19 data = [ 20 ":all_files", # Go sources 21 "//tensorflow/c:headers", # C library header 22 "//tensorflow/c/eager:headers", # Eager C library header 23 "//tensorflow/cc/saved_model:saved_model_half_plus_two", # Testdata for LoadSavedModel 24 ] + tf_shared_library_deps(), 25 # TODO: Enable this test again once protos are supported by bazel. 26 tags = ["manual"], 27) 28 29filegroup( 30 name = "all_files", 31 srcs = glob( 32 ["**/*"], 33 exclude = [ 34 "**/METADATA", 35 "**/OWNERS", 36 ], 37 ), 38 visibility = ["//tensorflow:__subpackages__"], 39) 40