-
Notifications
You must be signed in to change notification settings - Fork 992
Expand file tree
/
Copy pathBUCK
More file actions
52 lines (43 loc) · 1.31 KB
/
BUCK
File metadata and controls
52 lines (43 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load(":targets.bzl", "define_common_targets")
oncall("executorch")
non_fbcode_target(_kind = define_common_targets,)
# !!!! fbcode/executorch/devtools/bundled_program/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load(":targets.bzl", "define_common_targets")
fbcode_target(_kind = define_common_targets,)
fbcode_target(_kind = 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",
],
)
fbcode_target(_kind = runtime.python_library,
name = "config",
srcs = [
"config.py",
],
visibility = ["PUBLIC"],
deps = [
"fbsource//third-party/pypi/typing-extensions:typing-extensions",
"//caffe2:torch",
],
)
fbcode_target(_kind = runtime.python_library,
name = "version",
srcs = [
"version.py",
],
visibility = [
"//executorch/devtools/...",
],
)