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 1212 "CXX",
1313)
1414load("@fbsource//xplat/executorch/codegen:codegen.bzl", "executorch_generated_lib")
15- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
1615
1716oncall("odai_jarvis")
1817
Original file line number Diff line number Diff line change 1- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
21load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
32
43oncall("executorch")
54
65# TODO(T157145817): Update other flatbuffer serializers to use flatc like
76# _flatbuffer.py does, and remove this.
8- cpp_python_extension (
7+ runtime.cxx_python_extension (
98 name = "_bindings",
109 srcs = [
1110 "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")
21load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
32load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
43
54oncall("executorch")
65
7- cpp_python_extension (
6+ runtime.cxx_python_extension (
87 name = "bindings",
98 srcs = [
109 "bindings.cpp",
Original file line number Diff line number Diff line change 11# Any targets that should be shared between fbcode and xplat must be defined in
22# targets.bzl. This file can contain fbcode-only targets.
33
4- load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
54load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
65load(":targets.bzl", "define_common_targets")
76
87oncall("executorch")
98
109define_common_targets()
1110
12- cpp_python_extension (
11+ runtime.cxx_python_extension (
1312 name = "pybindings",
1413 srcs = [
1514 "pybindings.cpp",
@@ -21,7 +20,7 @@ cpp_python_extension(
2120 ],
2221)
2322
24- cpp_python_extension (
23+ runtime.cxx_python_extension (
2524 name = "pybindings_debug",
2625 srcs = [
2726 "pybindings.cpp",
You can’t perform that action at this time.
0 commit comments