1load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") 2load(":targets.bzl", "define_common_targets") 3 4oncall("executorch") 5 6define_common_targets() 7 8runtime.python_library( 9 name = "core", 10 srcs = [ 11 "core.py", 12 ], 13 visibility = [ 14 "//executorch/...", 15 "@EXECUTORCH_CLIENTS", 16 ], 17 deps = [ 18 ":config", 19 ":version", 20 "//caffe2:torch", 21 "//executorch/devtools/bundled_program/schema:bundled_program_schema_py", 22 "//executorch/exir:schema", 23 "//executorch/exir:tensor", 24 "//executorch/exir/_serialize:lib", 25 ], 26) 27 28runtime.python_library( 29 name = "config", 30 srcs = [ 31 "config.py", 32 ], 33 visibility = [ 34 "//executorch/...", 35 "@EXECUTORCH_CLIENTS", 36 ], 37 deps = [ 38 "fbsource//third-party/pypi/typing-extensions:typing-extensions", 39 "//caffe2:torch", 40 ], 41) 42 43runtime.python_library( 44 name = "version", 45 srcs = [ 46 "version.py", 47 ], 48 visibility = [ 49 "//executorch/devtools/...", 50 ], 51) 52