# Any targets that should be shared between fbcode and xplat must be defined in # targets.bzl. This file can contain fbcode-only targets. load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") oncall("executorch") runtime.python_binary( name = "export_example", srcs = ["scripts/export_example.py"], main_function = ".scripts.export_example.main", visibility = ["//executorch/examples/..."], deps = [ "//caffe2:torch", "//executorch/extension/pybindings:aten_lib", "//executorch/backends/qualcomm/partition:partition", "//executorch/backends/qualcomm/quantizer:quantizer", "//executorch/devtools:lib", "//executorch/examples/models:models", "//executorch/extension/export_util:export_util", ], )