Skip to content

Commit a224583

Browse files
xuhdevfacebook-github-bot
authored andcommitted
Add required_for_abi_source_only = True to extension/android:executorch_llama (#12093)
Summary: [Buck's document on Java source ABI](https://buck.build/concept/java_abis.html) recommends adding `required_for_source_abi = True` to targets that export annotations: > ... All annotations and compile-time constants (including enum values) used in the interface of a rule must be present during source-only ABI generation. > The error will suggest adding required_for_source_abi = True to any rule that defines an annotation type or a compile-time constant that is used from another rule, ... Reviewed By: digantdesai, thezhangwei Differential Revision: D77479748
1 parent f2f2a9d commit a224583

File tree

1 file changed

+1
-0
lines changed
  • extension/android

1 file changed

+1
-0
lines changed

extension/android/BUCK

Lines changed: 1 addition & 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+
required_for_source_only_abi = True,
89
srcs = [
910
"executorch_android/src/main/java/org/pytorch/executorch/DType.java",
1011
"executorch_android/src/main/java/org/pytorch/executorch/EValue.java",

0 commit comments

Comments
 (0)