bazelbuild / bazelbuild/rules_android

[mobile-install v3] Parse correct abi name from android platform

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
mobile-install
Dominant language
Java
Stars
203
Forks
95
PR merge metrics
No merged PRs in 30d

Description

Mobile install v3 still has the same issue as https://github.com/bazelbuild/bazel/issues/15837

As of now, we have to hardcode the platform name to make it work
```
platform(
# name = "android_arm64", # This doesn't work
name = "arm64-v8a",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:arm64",
],
)
```

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked Bazel issue 15837 and locating the mobile-install v3 handling of Android platform names. Verify how the ABI is currently derived and make the platform use the correct ABI name without hardcoding it; the example platform definition provides the expected arm64-v8a result.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.