File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ load("targets.bzl", "define_common_targets")
2+
3+ oncall("wrist_motion_systems")
4+
5+ define_common_targets()
Original file line number Diff line number Diff line change 1+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("//arvr/firmware/projects/smartglasses/config:config.bzl" , "sg_config" )
3+
4+ def define_common_targets ():
5+ runtime .cxx_library (
6+ name = "nxp_backend" ,
7+ srcs = ["NeutronBackend.cpp" ],
8+ headers = ["NeutronDriver.h" , "NeutronErrors.h" ],
9+ compatible_with = ["ovr_config//cpu:arm32-embedded" , sg_config ("embedded-mcu-rtos" )],
10+ # arm_executor_runner.cpp needs to compile with executor as whole
11+ # @lint-ignore BUCKLINT: Avoid `link_whole=True` (https://fburl.com/avoid-link-whole)
12+ link_whole = True ,
13+ supports_python_dlopen = True ,
14+ # Constructor needed for backend registration.
15+ compiler_flags = ["-Wno-global-constructors" ],
16+ visibility = ["@EXECUTORCH_CLIENTS" ],
17+ deps = [
18+ "//executorch/runtime/backend:interface" ,
19+ "//executorch/runtime/core:core" ,
20+ ],
21+ )
You can’t perform that action at this time.
0 commit comments