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
42
43
44
45
46
47
48
|
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 = "testing",
srcs = [
"codegen.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [
"//tensorflow/python/autograph/pyct",
"//tensorflow/python/autograph/utils",
"@gast_archive//:gast",
],
)
py_test(
name = "codegen_test",
size = "large",
srcs = ["codegen_test.py"],
srcs_version = "PY2AND3",
tags = [
"manual",
"no_windows",
"nomsan",
"notap",
],
deps = [
":testing",
"//tensorflow/python:client_testlib",
"//tensorflow/python/autograph/pyct",
"@gast_archive//:gast",
],
)
|