aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/autograph/pyct/common_transformers/BUILD
blob: fe630ef8526e08f29cdfeab25d840d8b4e4522e7 (plain)
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
36
37
38
39
40
41
licenses(["notice"])  # Apache 2.0

load("//tensorflow:tensorflow.bzl", "py_test")

filegroup(
    name = "all_files",
    srcs = glob(
        ["**/*"],
        exclude = [
            "**/METADATA",
            "**/OWNERS",
        ],
    ),
    visibility = ["//tensorflow:__subpackages__"],
)

py_library(
    name = "common_transformers",
    srcs = [
        "anf.py",
    ],
    srcs_version = "PY2AND3",
    visibility = ["//visibility:public"],
    deps = [
        "@gast_archive//:gast",
        "@six_archive//:six",
        # TODO(aqj) Revisit this dependency direction when pyct is more
        # modularized
        "//tensorflow/contrib/autograph/pyct",
    ],
)

py_test(
    name = "anf_test",
    srcs = ["anf_test.py"],
    srcs_version = "PY2AND3",
    deps = [
        ":common_transformers",
        "//tensorflow/python:client_testlib",
    ],
)