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