blob: 10d4d0b9154f46e626ca3beb7f487b1b06bd8438 [file] [log] [blame] [edit]
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load(":targets.bzl", "define_common_targets")
oncall("executorch")
define_common_targets()
runtime.python_library(
name = "core",
srcs = [
"core.py",
],
visibility = ["PUBLIC"],
deps = [
":config",
":version",
"//caffe2:torch",
"//executorch/devtools/bundled_program/schema:bundled_program_schema_py",
"//executorch/exir:schema",
"//executorch/exir:tensor",
],
)
runtime.python_library(
name = "config",
srcs = [
"config.py",
],
visibility = ["PUBLIC"],
deps = [
"fbsource//third-party/pypi/typing-extensions:typing-extensions",
"//caffe2:torch",
],
)
runtime.python_library(
name = "version",
srcs = [
"version.py",
],
visibility = [
"//executorch/devtools/...",
],
)