1load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") 2 3def define_common_targets(): 4 """Defines targets that should be shared between fbcode and xplat. 5 The directory containing this targets.bzl file should also contain both 6 TARGETS and BUCK files that call this function. 7 """ 8 9 runtime.python_library( 10 name = "utils", 11 srcs = glob([ 12 "*.py", 13 ]), 14 visibility = [ 15 "@EXECUTORCH_CLIENTS", 16 ], 17 deps = [ 18 "//executorch/exir/backend:backend_details", 19 "//executorch/exir/backend:compile_spec_schema", 20 "//executorch/backends/qualcomm/serialization:serialization", 21 ], 22 ) 23