lin
2025-07-30 fcd736bf35fd93b563e9bbf594f2aa7b62028cc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Description:
# Go API for TensorFlow.
 
package(
    default_visibility = ["//visibility:private"],
)
 
licenses(["notice"])  # Apache 2.0
 
exports_files(["LICENSE"])
 
sh_test(
    name = "test",
    size = "small",
    srcs = ["test.sh"],
    data = [
        ":all_files",  # Go sources
        "//tensorflow:libtensorflow.so",  # C library
        "//tensorflow/c:headers",  # C library header
        "//tensorflow/c/eager:headers",  # Eager C library header
        "//tensorflow/cc/saved_model:saved_model_half_plus_two",  # Testdata for LoadSavedModel
    ],
)
 
filegroup(
    name = "all_files",
    srcs = glob(
        ["**/*"],
        exclude = [
            "**/METADATA",
            "**/OWNERS",
        ],
    ),
    visibility = ["//tensorflow:__subpackages__"],
)