File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
23load ("@fbcode_macros//build_defs:python_unittest.bzl" , "python_unittest" )
34load ("@fbcode_macros//build_defs:python_unittest_remote_gpu.bzl" , "python_unittest_remote_gpu" )
45
56oncall ("executorch" )
67
7- python_unittest_remote_gpu(
8+ fbcode_target ( _kind = python_unittest_remote_gpu ,
89 name = "test_cuda_export" ,
910 srcs = [
1011 "test_cuda_export.py" ,
@@ -24,7 +25,7 @@ python_unittest_remote_gpu(
2425 keep_gpu_sections = True ,
2526)
2627
27- python_unittest(
28+ fbcode_target ( _kind = python_unittest ,
2829 name = "test_cuda_partitioner" ,
2930 srcs = [
3031 "test_cuda_partitioner.py" ,
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
23load ("@fbcode_macros//build_defs:python_unittest.bzl" , "python_unittest" )
34
45oncall ("executorch" )
56
6- runtime.python_library(
7+ fbcode_target ( _kind = runtime .python_library ,
78 name = "example_quantizer" ,
89 srcs = [
910 "example_quantizer.py" ,
@@ -15,7 +16,7 @@ runtime.python_library(
1516 ],
1617)
1718
18- runtime.python_library(
19+ fbcode_target ( _kind = runtime .python_library ,
1920 name = "example_backend" ,
2021 srcs = [
2122 "example_backend.py" ,
@@ -27,7 +28,7 @@ runtime.python_library(
2728 ],
2829)
2930
30- runtime.python_library(
31+ fbcode_target ( _kind = runtime .python_library ,
3132 name = "example_partitioner" ,
3233 srcs = [
3334 "example_partitioner.py" ,
@@ -43,7 +44,7 @@ runtime.python_library(
4344 ],
4445)
4546
46- python_unittest(
47+ fbcode_target ( _kind = python_unittest ,
4748 name = "test_example_delegate" ,
4849 srcs = [
4950 "test_example_delegate.py" ,
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
12load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
23
3- runtime.python_library(
4+ fbcode_target ( _kind = runtime .python_library ,
45 name = "quantizer" ,
56 srcs = [
67 "__init__.py" ,
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ oncall ("executorch" )
13# Any targets that should be shared between fbcode and xplat must be defined in
24# targets.bzl. This file can contain xplat-only targets.
35
79)
810load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
911
10- oncall ("executorch" )
1112
12- runtime .cxx_library (
13+ non_fbcode_target ( _kind = runtime .cxx_library ,
1314 name = "neuron_backend" ,
1415 srcs = [
1516 "NeuronBackend.cpp" ,
@@ -31,3 +32,6 @@ runtime.cxx_library(
3132 platforms = [ANDROID ],
3233 visibility = ["PUBLIC" ],
3334)
35+
36+ # !!!! fbcode/executorch/backends/mediatek/runtime/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
37+
You can’t perform that action at this time.
0 commit comments