Skip to content

Commit 8fe6227

Browse files
authored
Manual merge of #14154, second try (#14264)
Something went wrong with the automated merge here as well as the first manual merge. This is an exact export of the corresponding diff. Differential Revision: D82127664
1 parent e6b9111 commit 8fe6227

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

backends/cadence/aot/TARGETS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ load(
1212
"CXX",
1313
)
1414
load("@fbsource//xplat/executorch/codegen:codegen.bzl", "executorch_generated_lib")
15-
load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
1615

1716
oncall("odai_jarvis")
1817

exir/_serialize/TARGETS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
21
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
32

43
oncall("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",

exir/verification/TARGETS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
load("@fbcode_macros//build_defs:cpp_python_extension.bzl", "cpp_python_extension")
21
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
32
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
43

54
oncall("executorch")
65

7-
cpp_python_extension(
6+
runtime.cxx_python_extension(
87
name = "bindings",
98
srcs = [
109
"bindings.cpp",

extension/pytree/TARGETS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
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")
54
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
65
load(":targets.bzl", "define_common_targets")
76

87
oncall("executorch")
98

109
define_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",

0 commit comments

Comments
 (0)