android / android/ndk

[FR] add orderfile creation script to the NDK

Open
#1,912 1 comment 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

### Description

Order files require some processing before they're consumed by lld (why? could we just upstream whatever the script is doing into lld?): https://android.googlesource.com/toolchain/pgo-profiles/+/refs/heads/main/scripts/create_orderfile.py. We should include that script in the NDK.

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced create_orderfile.py script and inspect the NDK's packaging or build entry points to find where utility scripts are included. Determine how this script should be shipped and invoked within the NDK, then verify that the packaged NDK contains it and that its intended order-file workflow remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
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.