android / android/ndk

ndk-build genrule support

Open
#865 2 comments 1 reaction 0 assignees View on GitHub
enhancement ndk-build
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

Add support for genrule type targets to ndk-build. These would allow the user to add rules for generating source files. Since prebuilt libraries are implemented as source files for `PREBUILT_*_LIBRARY` modules, these would also be a way for users to expose externally built libraries to ndk-build. Something like ndkports or autoconf could be used to drive the genrule, which would create the "prebuilt" library.

Contributor guide

Open the contributing guide

Research direction

Start by examining ndk-build and how PREBUILT_*_LIBRARY modules are implemented. Compare the requested genrule target with the existing ndkports or autoconf workflows. Done means users can define generation rules and expose externally built libraries through ndk-build.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.