File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
23
34oncall ("executorch" )
45
5- runtime.python_library(
6+ fbcode_target ( _kind = runtime .python_library ,
67 name = "lib" ,
78 srcs = ["__init__.py" ],
89 deps = [
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
23
34oncall ("executorch" )
45
5- runtime.python_library(
6+ fbcode_target ( _kind = runtime .python_library ,
67 name = "delegation_info" ,
78 srcs = [
89 "__init__.py" ,
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbcode_macros//build_defs:python_unittest.bzl" , "python_unittest" )
23
34oncall ("executorch" )
45
5- python_unittest(
6+ fbcode_target ( _kind = python_unittest ,
67 name = "test_delegation_info" ,
78 srcs = [
89 "test_delegation_info.py" ,
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load (":targets.bzl" , "define_common_targets" )
23
34oncall ("executorch" )
45
5- define_common_targets ()
6+ non_fbcode_target (_kind = define_common_targets ,)
7+
8+ # !!!! fbcode/executorch/devtools/bundled_program/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
9+
10+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
11+ load (":targets.bzl" , "define_common_targets" )
12+
13+
14+ fbcode_target (_kind = define_common_targets ,)
15+
16+ fbcode_target (_kind = runtime .python_library ,
17+ name = "core" ,
18+ srcs = [
19+ "core.py" ,
20+ ],
21+ visibility = ["PUBLIC" ],
22+ deps = [
23+ ":config" ,
24+ ":version" ,
25+ "//caffe2:torch" ,
26+ "//executorch/devtools/bundled_program/schema:bundled_program_schema_py" ,
27+ "//executorch/exir:schema" ,
28+ "//executorch/exir:tensor" ,
29+ ],
30+ )
31+
32+ fbcode_target (_kind = runtime .python_library ,
33+ name = "config" ,
34+ srcs = [
35+ "config.py" ,
36+ ],
37+ visibility = ["PUBLIC" ],
38+ deps = [
39+ "fbsource//third-party/pypi/typing-extensions:typing-extensions" ,
40+ "//caffe2:torch" ,
41+ ],
42+ )
43+
44+ fbcode_target (_kind = runtime .python_library ,
45+ name = "version" ,
46+ srcs = [
47+ "version.py" ,
48+ ],
49+ visibility = [
50+ "//executorch/devtools/..." ,
51+ ],
52+ )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments