android / android/ndk

[FR] add "preview API" bit to the ELF note

Open
#1,199 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

The elf note should contain a boolean indicating whether the platform version targeted was a preview or final API level for the given NDK. This can be used as a signal to protect users from accidentally shipping apps that use non-final APIs.

We should also add something to the meta directory that explains which if any of the APIs are currently previews.

@enh-google want to take care of this since you're messing with ELF notes anyway?

Contributor guide

Open the contributing guide

Research direction

Locate the code that writes the ELF note and inspect the existing metadata under the meta directory. Add the preview-status information described in the issue and verify that the note and metadata expose whether targeted APIs are preview or final.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.