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 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/target_determinator/macros:ci.bzl" , "ci" )
23
34def  define_common_targets ():
45    runtime .cxx_library (
5-         name  =  "nxp_backend " ,
6+         name  =  "nxp_backend_base " ,
67        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+         ], 
1112        link_whole  =  True ,
1213        # Constructor needed for backend registration. 
1314        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+         ],
1520        deps  =  [
1621            "//executorch/runtime/backend:interface" ,
1722            "//executorch/runtime/core:core" ,
18-             "fbsource//arvr/third-party/toolchains/nxp-sdk/2.16.0/middleware/eiq/executorch/third-party/neutron/rt700:libNeutron" ,
1923        ],
2024    )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments