Files
Henrik Rydgård c66e5a26bd Use the gradle NDK version for the legacy Android build and parallelize
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.
2026-08-03 12:00:13 +02:00

17 lines
592 B
Batchfile

mkdir assets > nul
xcopy ..\assets\flash0 assets\flash0\ /s /y <d.txt
xcopy ..\assets\lang assets\lang\ /s /y <d.txt
xcopy ..\assets\shaders assets\shaders\ /s /y <d.txt
xcopy ..\assets\themes assets\themes\ /s /y <d.txt
xcopy ..\assets\ui_images assets\ui_images\ /s /y <d.txt
copy ..\assets\*.ini assets\
copy ..\assets\*.ttf assets\
copy ..\assets\*.png assets\
copy ..\assets\*.zim assets\
copy ..\assets\*.meta assets\
copy ..\assets\*.wav assets\
SET NDK=C:\Android\sdk\ndk\29.0.14206865
REM SET NDK=C:\Android\ndk
SET NDK_MODULE_PATH=..\ext
%NDK%/ndk-build -j%NUMBER_OF_PROCESSORS% %*