xref: /aosp_15_r20/external/executorch/exir/capture/TARGETS (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2
3oncall("executorch")
4
5python_library(
6    name = "lib",
7    srcs = [
8        "__init__.py",
9    ],
10    deps = [
11        ":capture",
12        ":config",
13    ],
14)
15
16python_library(
17    name = "capture",
18    srcs = [
19        "_capture.py",
20    ],
21    deps = [
22        ":config",
23        "//caffe2:torch",
24        "//executorch/exir:error",
25        "//executorch/exir:tracer",
26        "//executorch/exir/program:lib",
27        "//executorch/exir/program:program",
28        "//executorch/exir/verification:verifier",
29    ],
30)
31
32python_library(
33    name = "config",
34    srcs = [
35        "_config.py",
36    ],
37    deps = [
38        "//caffe2:torch",
39        "//executorch/exir:dynamic_shape",
40        "//executorch/exir:pass_manager",
41        "//executorch/exir:tracer",
42        "//executorch/exir/passes:lib",
43        "//executorch/exir/passes:sym_shape_eval_pass",
44    ],
45)
46