File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,21 @@ load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
22
33def define_common_targets ():
44 runtime .cxx_library (
5- name = "nxp_backend " ,
5+ name = "nxp_backend_base " ,
66 srcs = ["NeutronBackend.cpp" ],
7- exported_headers = ["NeutronDriver.h" , "NeutronErrors.h" ],
8- compatible_with = [ "ovr_config//cpu:arm32-embedded" , "@fbsource//arvr/firmware/projects/smartglasses/config:embedded-mcu-rtos" ] ,
9- # Neutron runtime needs to compile with executor as whole
10- # @lint-ignore BUCKLINT: Avoid `link_whole=True` (https://fburl.com/avoid-link-whole)
7+ exported_headers = [
8+ "NeutronDriver.h" ,
9+ "NeutronErrors.h" ,
10+ ],
1111 link_whole = True ,
1212 # Constructor needed for backend registration.
1313 compiler_flags = ["-Wno-global-constructors" , "-fno-rtti" , "-DNO_HEAP_USAGE" ],
14- visibility = ["@EXECUTORCH_CLIENTS" ],
14+ visibility = [
15+ "//executorch/backends/nxp/runtime/fb:nxp_fb_backend" ,
16+ "@EXECUTORCH_CLIENTS" ,
17+ ],
1518 deps = [
1619 "//executorch/runtime/backend:interface" ,
1720 "//executorch/runtime/core:core" ,
18- "fbsource//arvr/third-party/toolchains/nxp-sdk/2.16.0/middleware/eiq/executorch/third-party/neutron/rt700:libNeutron" ,
1921 ],
2022 )
You can’t perform that action at this time.
0 commit comments