• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//tensorflow:tensorflow.bzl", "py_test")
2
3package(
4    licenses = ["notice"],
5)
6
7filegroup(
8    name = "all_files",
9    srcs = glob(
10        ["**/*"],
11        exclude = [
12            "**/METADATA",
13            "**/OWNERS",
14        ],
15    ),
16    visibility = ["//tensorflow:__subpackages__"],
17)
18
19py_library(
20    name = "testing",
21    srcs = [
22        "basic_definitions.py",
23        "decorators.py",
24    ],
25    srcs_version = "PY3",
26    visibility = ["//visibility:public"],
27)
28
29py_library(
30    name = "codegen",
31    srcs = [
32        "codegen.py",
33    ],
34    srcs_version = "PY3",
35    visibility = ["//visibility:public"],
36    deps = [
37        "//tensorflow/python/autograph/pyct",
38        "//tensorflow/python/autograph/utils",
39        "@gast_archive//:gast",
40    ],
41)
42
43py_test(
44    name = "codegen_test",
45    size = "large",
46    srcs = ["codegen_test.py"],
47    python_version = "PY3",
48    srcs_version = "PY3",
49    tags = [
50        "manual",
51        "no_windows",
52        "nomsan",
53        "notap",
54    ],
55    deps = [
56        ":codegen",
57        "//tensorflow/python:client_testlib",
58        "//tensorflow/python/autograph/pyct",
59        "@gast_archive//:gast",
60    ],
61)
62