44# LICENSE file in the root directory of this source tree.
55
66# @noautodeps
7+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" )
78load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
89
9- runtime.python_library(
10+ fbcode_target (
11+ _kind = runtime .python_library ,
1012 name = "constants" ,
1113 srcs = [
1214 "constants.py" ,
@@ -15,7 +17,8 @@ runtime.python_library(
1517 "//executorch/exir/dialects:lib" ,
1618 ],
1719)
18- runtime.python_library(
20+ fbcode_target (
21+ _kind = runtime .python_library ,
1922 name = "ao_ext" ,
2023 srcs = glob ([
2124 "ao_ext/*.py" ,
@@ -28,7 +31,8 @@ runtime.python_library(
2831 ],
2932)
3033
31- runtime.python_library(
34+ fbcode_target (
35+ _kind = runtime .python_library ,
3236 name = "lib" ,
3337 srcs = [
3438 "__init__.py" ,
@@ -40,7 +44,8 @@ runtime.python_library(
4044 "//executorch/backends/arm/quantizer:lib" ,
4145 ],
4246)
43- runtime.python_library(
47+ fbcode_target (
48+ _kind = runtime .python_library ,
4449 name = "common" ,
4550 srcs = glob (["common/*.py" ]),
4651 deps = [
@@ -50,7 +55,8 @@ runtime.python_library(
5055 ],
5156)
5257
53- runtime.python_library(
58+ fbcode_target (
59+ _kind = runtime .python_library ,
5460 name = "arm_compile_spec" ,
5561 srcs = [
5662 "common/arm_compile_spec.py" ,
@@ -67,7 +73,8 @@ runtime.python_library(
6773 "//executorch/backends/arm/_passes:passes" ,
6874 ],
6975)
70- runtime.python_library(
76+ fbcode_target (
77+ _kind = runtime .python_library ,
7178 name = "ethosu" ,
7279 srcs = [
7380 "ethosu/__init__.py" ,
@@ -83,7 +90,8 @@ runtime.python_library(
8390 ],
8491)
8592
86- runtime.python_library(
93+ fbcode_target (
94+ _kind = runtime .python_library ,
8795 name = "vgf" ,
8896 srcs = [
8997 "vgf/__init__.py" ,
@@ -120,7 +128,8 @@ runtime.python_library(
120128 "//executorch/exir:lib" ,
121129 ],
122130)
123- runtime.python_library(
131+ fbcode_target (
132+ _kind = runtime .python_library ,
124133 name = "public_api" ,
125134 srcs = ["__init__.py" ],
126135 deps = [
@@ -130,7 +139,8 @@ runtime.python_library(
130139 ],
131140)
132141
133- runtime.python_library(
142+ fbcode_target (
143+ _kind = runtime .python_library ,
134144 name = "process_node" ,
135145 srcs = ["process_node.py" ],
136146 deps = [
@@ -142,7 +152,8 @@ runtime.python_library(
142152 "//executorch/exir:lib" ,
143153 ],
144154)
145- runtime.python_library(
155+ fbcode_target (
156+ _kind = runtime .python_library ,
146157 name = "arm_vela" ,
147158 srcs = [
148159 "arm_vela.py" ,
@@ -151,7 +162,8 @@ runtime.python_library(
151162 "fbsource//third-party/pypi/ethos-u-vela:ethos-u-vela" ,
152163 ],
153164)
154- runtime.python_library(
165+ fbcode_target (
166+ _kind = runtime .python_library ,
155167 name = "arm_model_evaluator" ,
156168 srcs = [
157169 "util/arm_model_evaluator.py" ,
@@ -160,7 +172,8 @@ runtime.python_library(
160172 "//caffe2:torch" ,
161173 ]
162174)
163- runtime.python_library(
175+ fbcode_target (
176+ _kind = runtime .python_library ,
164177 name = "_factory" ,
165178 srcs = [
166179 "util/_factory.py"
0 commit comments