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 (":targets.bzl" , "define_common_targets" )
34
45oncall ("executorch" )
56
6- define_common_targets ()
7+ non_fbcode_target (_kind = define_common_targets ,)
8+
9+ # !!!! fbcode/executorch/extension/flat_tensor/serialize/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
10+
11+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
12+ load (":targets.bzl" , "define_common_targets" )
13+
14+
15+ fbcode_target (_kind = define_common_targets ,)
16+
17+ fbcode_target (_kind = runtime .python_library ,
18+ name = "schema" ,
19+ srcs = [
20+ "flat_tensor_schema.py" ,
21+ ],
22+ visibility = [
23+ "//executorch/..." ,
24+ ],
25+ deps = [
26+ "//executorch/exir:tensor_layout" ,
27+ ]
28+ )
29+
30+ fbcode_target (_kind = runtime .python_library ,
31+ name = "serialize" ,
32+ srcs = [
33+ "serialize.py" ,
34+ ],
35+ resources = [
36+ "flat_tensor.fbs" ,
37+ "scalar_type.fbs" ,
38+ ],
39+ visibility = ["PUBLIC" ],
40+ deps = [
41+ ":schema" ,
42+ "//executorch/exir/_serialize:lib" ,
43+ ],
44+ )
Load Diff This file was deleted.
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
46load (":targets.bzl" , "define_common_targets" )
57
6- oncall ("executorch" )
78
8- define_common_targets ()
9+ non_fbcode_target (_kind = define_common_targets ,)
10+
11+ # !!!! fbcode/executorch/extension/flat_tensor/test/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+ # Any targets that should be shared between fbcode and xplat must be defined in
14+ # targets.bzl. This file can contain fbcode-only targets.
15+
16+ load ("@fbcode_macros//build_defs:python_unittest.bzl" , "python_unittest" )
17+ load (":targets.bzl" , "define_common_targets" )
18+
19+
20+ fbcode_target (_kind = define_common_targets ,is_fbcode = True )
21+
22+ fbcode_target (_kind = python_unittest ,
23+ name = "serialize" ,
24+ srcs = [
25+ "test_serialize.py" ,
26+ ],
27+ deps = [
28+ "//executorch/extension/flat_tensor/serialize:serialize" ,
29+ "//executorch/extension/flat_tensor/serialize:schema" ,
30+ ],
31+ )
Load Diff This file was deleted.
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
46load (":targets.bzl" , "define_common_targets" )
57
6- oncall ("executorch" )
78
8- define_common_targets ()
9+ non_fbcode_target (_kind = define_common_targets ,)
10+
11+ # !!!! fbcode/executorch/extension/kernel_util/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+ # Any targets that should be shared between fbcode and xplat must be defined in
14+ # targets.bzl. This file can contain fbcode-only targets.
15+
16+ load (":targets.bzl" , "define_common_targets" )
17+
18+
19+ fbcode_target (_kind = define_common_targets ,)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments