xref: /aosp_15_r20/external/executorch/examples/qualcomm/TARGETS (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1# Any targets that should be shared between fbcode and xplat must be defined in
2# targets.bzl. This file can contain fbcode-only targets.
3
4load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
5
6oncall("executorch")
7
8runtime.python_binary(
9    name = "export_example",
10    srcs = ["scripts/export_example.py"],
11    main_function = ".scripts.export_example.main",
12    visibility = ["//executorch/examples/..."],
13    deps = [
14        "//caffe2:torch",
15        "//executorch/extension/pybindings:aten_lib",
16        "//executorch/backends/qualcomm/partition:partition",
17        "//executorch/backends/qualcomm/quantizer:quantizer",
18        "//executorch/devtools:lib",
19        "//executorch/examples/models:models",
20        "//executorch/extension/export_util:export_util",
21    ],
22)
23