load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") def define_common_targets(): """Defines targets that should be shared between fbcode and xplat. The directory containing this targets.bzl file should also contain both TARGETS and BUCK files that call this function. """ runtime.python_library( name = "partition", srcs = glob([ "*.py", ]), visibility = [ "@EXECUTORCH_CLIENTS", ], deps = [ "//executorch/exir/backend:backend_details", "//executorch/exir/backend:compile_spec_schema", "//executorch/backends/qualcomm/builders:builders", "//executorch/backends/qualcomm:preprocess", "//executorch/exir/backend/canonical_partitioners:canonical_partitioner_lib", ], )