xref: /aosp_15_r20/external/executorch/devtools/etdump/TARGETS (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2load(":targets.bzl", "define_common_targets")
3
4oncall("executorch")
5
6define_common_targets()
7
8runtime.python_library(
9    name = "schema_flatcc",
10    srcs = [
11        "schema_flatcc.py",
12    ],
13    visibility = [
14        "//executorch/devtools/...",
15    ],
16    deps = [
17        "//executorch/exir:scalar_type",
18    ],
19)
20
21runtime.python_library(
22    name = "serialize",
23    srcs = [
24        "serialize.py",
25    ],
26    resources = {
27        "//executorch/devtools/etdump:etdump_schema_flatcc.fbs": "etdump_schema_flatcc.fbs",
28        "//executorch/schema:scalar_type.fbs": "scalar_type.fbs",
29    },
30    visibility = [
31        "//executorch/devtools/...",
32    ],
33    deps = [
34        "fbsource//third-party/pypi/setuptools:setuptools",
35        ":schema_flatcc",
36        "//executorch/exir/_serialize:lib",
37    ],
38)
39