mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
The legacy android/jni build (ab.sh / ab.cmd / CI) used an ancient NDK (r21e) and hardcoded job counts. Update it to the NDK version used by the gradle build (29.0.14206865) and derive the job count from the available cores (nproc / NUMBER_OF_PROCESSORS) instead of hardcoding.
16 lines
474 B
Bash
Executable File
16 lines
474 B
Bash
Executable File
mkdir -p assets
|
|
cp -r ../assets/flash0 assets/
|
|
cp -r ../assets/lang assets/
|
|
cp -r ../assets/shaders assets/
|
|
cp -r ../assets/themes assets/
|
|
cp -r ../assets/debugger assets/
|
|
cp -r ../assets/upload assets/
|
|
cp -r ../assets/ui_images assets/
|
|
cp ../assets/*.ini assets/
|
|
cp ../assets/*.ttf assets/
|
|
cp ../assets/*.png assets/
|
|
cp ../assets/*.zim assets/
|
|
cp ../assets/*.meta assets/
|
|
cp ../assets/*.wav assets/
|
|
NDK_MODULE_PATH=../ext $NDK/ndk-build -j$(nproc 2>/dev/null || echo 4) $*
|