File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 12
12
"CXX",
13
13
)
14
14
load("@fbsource//xplat/executorch/codegen:codegen.bzl", "executorch_generated_lib")
15
- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
16
15
17
16
oncall("odai_jarvis")
18
17
Original file line number Diff line number Diff line change 1
- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
2
1
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
3
2
4
3
oncall("executorch")
5
4
6
5
# TODO(T157145817): Update other flatbuffer serializers to use flatc like
7
6
# _flatbuffer.py does, and remove this.
8
- cpp_python_extension (
7
+ runtime.cxx_python_extension (
9
8
name = "_bindings",
10
9
srcs = [
11
10
"bindings.cpp",
Original file line number Diff line number Diff line change 1
- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
2
1
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
3
2
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
4
3
5
4
oncall("executorch")
6
5
7
- cpp_python_extension (
6
+ runtime.cxx_python_extension (
8
7
name = "bindings",
9
8
srcs = [
10
9
"bindings.cpp",
Original file line number Diff line number Diff line change 1
1
# Any targets that should be shared between fbcode and xplat must be defined in
2
2
# targets.bzl. This file can contain fbcode-only targets.
3
3
4
- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
5
4
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
6
5
load(":targets.bzl", "define_common_targets")
7
6
8
7
oncall("executorch")
9
8
10
9
define_common_targets()
11
10
12
- cpp_python_extension (
11
+ runtime.cxx_python_extension (
13
12
name = "pybindings",
14
13
srcs = [
15
14
"pybindings.cpp",
@@ -21,7 +20,7 @@ cpp_python_extension(
21
20
],
22
21
)
23
22
24
- cpp_python_extension (
23
+ runtime.cxx_python_extension (
25
24
name = "pybindings_debug",
26
25
srcs = [
27
26
"pybindings.cpp",
You can’t perform that action at this time.
0 commit comments