summaryrefslogtreecommitdiff
path: root/java/app_builder.go
diff options
context:
space:
mode:
author Prashanth Swaminathan <prashanthsw@google.com> 2023-07-28 13:09:37 -0700
committer Prashanth Swaminathan <prashanthsw@google.com> 2023-07-29 11:44:33 -0700
commit30f7c79949e1635e606f18ff3520ce4b19066bca (patch)
tree17c51ebd1f93ee21313ab6a7d9024956ee8bc54f /java/app_builder.go
parent6ff7d9e53237c5c52b57765a83d4321af36ca1ff (diff)
Convert preview sdkVersion to int for target-api
If the target SDK of the module is a preview, the current logic passes it through to llvm-rs-cc, which expects an int. Convert codenames to their API level first, then extract the final or preview int. Also simplify the logic to look for 'current' more generically via the common ApiLevel library functions. Test: Verified local build of riscv64, confirmed RS attempts to build with API level 9000+ instead of 'VanillaIceCream'. Change-Id: I1fa7577181bfd16de0ea4e77f7ab8fbd8fdb55e5
Diffstat (limited to 'java/app_builder.go')
0 files changed, 0 insertions, 0 deletions