55# LICENSE file in the root directory of this source tree.
66
77load("@fbcode_macros//build_defs:export_files.bzl", "export_file")
8- load("@fbcode_macros//build_defs:python_library .bzl", "python_library ")
8+ load("@fbsource//xplat/executorch/build:runtime_wrapper .bzl", "runtime ")
99load(
1010 "@fbsource//tools/build_defs:default_platform_defs.bzl",
1111 "CXX",
@@ -15,7 +15,7 @@ load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
1515
1616oncall("odai_jarvis")
1717
18- python_library(
18+ runtime. python_library(
1919 name = "utils",
2020 srcs = [
2121 "utils.py",
@@ -30,7 +30,7 @@ python_library(
3030 ],
3131)
3232
33- python_library(
33+ runtime. python_library(
3434 name = "compiler",
3535 srcs = [
3636 "compiler.py",
@@ -51,7 +51,7 @@ python_library(
5151 ],
5252)
5353
54- python_library(
54+ runtime. python_library(
5555 name = "export_example",
5656 srcs = [
5757 "export_example.py",
@@ -73,7 +73,7 @@ python_library(
7373 ],
7474)
7575
76- python_library(
76+ runtime. python_library(
7777 name = "pass_utils",
7878 srcs = [
7979 "pass_utils.py",
@@ -88,7 +88,7 @@ python_library(
8888 ],
8989)
9090
91- python_library(
91+ runtime. python_library(
9292 name = "passes",
9393 srcs = [
9494 "passes.py",
@@ -108,7 +108,7 @@ python_library(
108108 ],
109109)
110110
111- python_library(
111+ runtime. python_library(
112112 name = "ops_registrations",
113113 srcs = [
114114 "ops_registrations.py",
@@ -148,7 +148,7 @@ python_unittest(
148148 ],
149149)
150150
151- python_library(
151+ runtime. python_library(
152152 name = "compiler_utils",
153153 srcs = [
154154 "compiler_utils.py",
@@ -160,7 +160,7 @@ python_library(
160160 ],
161161)
162162
163- python_library(
163+ runtime. python_library(
164164 name = "graph_builder",
165165 srcs = [
166166 "graph_builder.py",
@@ -172,7 +172,7 @@ python_library(
172172 ],
173173)
174174
175- python_library(
175+ runtime. python_library(
176176 name = "fuse_ops",
177177 srcs = [
178178 "fuse_ops.py",
@@ -192,7 +192,7 @@ python_library(
192192 ],
193193)
194194
195- python_library(
195+ runtime. python_library(
196196 name = "simplify_ops",
197197 srcs = [
198198 "simplify_ops.py",
@@ -206,7 +206,7 @@ python_library(
206206 ],
207207)
208208
209- python_library(
209+ runtime. python_library(
210210 name = "remove_ops",
211211 srcs = [
212212 "remove_ops.py",
@@ -224,7 +224,7 @@ python_library(
224224 ],
225225)
226226
227- python_library(
227+ runtime. python_library(
228228 name = "reorder_ops",
229229 srcs = [
230230 "reorder_ops.py",
@@ -242,7 +242,7 @@ python_library(
242242 ],
243243)
244244
245- python_library(
245+ runtime. python_library(
246246 name = "replace_ops",
247247 srcs = [
248248 "replace_ops.py",
@@ -380,7 +380,7 @@ python_unittest(
380380)
381381
382382
383- python_library(
383+ runtime. python_library(
384384 name = "memory_planning",
385385 srcs = [
386386 "memory_planning.py",
@@ -398,7 +398,7 @@ python_library(
398398)
399399
400400
401- python_library(
401+ runtime. python_library(
402402 name = "memory_constraints",
403403 srcs = [
404404 "memory_constraints.py",
0 commit comments