Skip to content

Commit dd97f37

Browse files
rybalkinsdfacebook-github-bot
authored andcommitted
Flip executorch android extension to source-only ABI (#23931)
Summary: Flips 2 targets in xplat/executorch/extension/android to abi_generation_mode = "source_only" (clean flip, comparator 0 on both). Causation check: the single consumer-build failure (etu2net_debug, missing aiplatform inference segmentation interface on the stub classpath) reproduces identically with the flip reverted, so it is a pre-existing gap unrelated to this change, not a regression. Validation per target: buck2 build of default, class-abi and source-only-abi variants green; KOSABI_APPLICABILITY_REPORT_V2 silent; widened six-leg compareAbi reports 0 differences; KmDump shows 0 public member diffs; direct consumers build 239/241 with the sole failure proven pre-existing as above. Reviewed By: siaojiecai Differential Revision: D125602727
1 parent fc62ba7 commit dd97f37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • extension/android

‎extension/android/BUCK‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ oncall("executorch")
55

66
non_fbcode_target(_kind = fb_android_library,
77
name = "executorch",
8+
abi_generation_mode = "source_only",
89
warnings_as_errors = False,
910
required_for_source_only_abi = True,
1011
srcs = [
@@ -48,6 +49,7 @@ non_fbcode_target(_kind = fb_android_library,
4849

4950
non_fbcode_target(_kind = fb_android_library,
5051
name = "executorch_llama",
52+
abi_generation_mode = "source_only",
5153
warnings_as_errors = False,
5254
srcs = [
5355
"executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmCallback.kt",

0 commit comments

Comments
 (0)