File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2
+ load ("@fbsource//tools/target_determinator/macros:ci.bzl" , "ci" )
2
3
3
4
def define_common_targets ():
4
5
runtime .cxx_library (
5
- name = "nxp_backend " ,
6
+ name = "nxp_backend_base " ,
6
7
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)
8
+ exported_headers = [
9
+ "NeutronDriver.h" ,
10
+ "NeutronErrors.h" ,
11
+ ],
11
12
link_whole = True ,
12
13
# Constructor needed for backend registration.
13
14
compiler_flags = ["-Wno-global-constructors" , "-fno-rtti" , "-DNO_HEAP_USAGE" ],
14
- visibility = ["@EXECUTORCH_CLIENTS" ],
15
+ labels = [ci .skip_target ()],
16
+ visibility = [
17
+ "//executorch/backends/nxp/runtime/fb:nxp_fb_backend" ,
18
+ "@EXECUTORCH_CLIENTS" ,
19
+ ],
15
20
deps = [
16
21
"//executorch/runtime/backend:interface" ,
17
22
"//executorch/runtime/core:core" ,
18
- "fbsource//arvr/third-party/toolchains/nxp-sdk/2.16.0/middleware/eiq/executorch/third-party/neutron/rt700:libNeutron" ,
19
23
],
20
24
)
You can’t perform that action at this time.
0 commit comments