513d2cae3e
Also restructure meson.build and the ghactions workflow a bit, and enable -ffunction-sections and -fdata-sections. Note that starcatcher uploads have not been tested and most likely don't work.
26 lines
1.3 KiB
INI
26 lines
1.3 KiB
INI
[constants]
|
|
andriod_ndk_toolchain_bin = '/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin'
|
|
|
|
[properties]
|
|
# only needed if you want to run the custom target powder_apk (powder.apk)
|
|
# android_ndk_toolchain_prefix comes from the correct cross-file in ./android/cross
|
|
android_ndk_toolchain_prefix = android_ndk_toolchain_prefix
|
|
android_platform = 'android-30'
|
|
android_platform_jar = '/opt/android-sdk/platforms/' + android_platform + '/android.jar'
|
|
java_runtime_jar = '/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar'
|
|
|
|
[binaries]
|
|
c = andriod_ndk_toolchain_bin / (android_ndk_toolchain_prefix + 'clang')
|
|
# c = [ 'ccache', andriod_ndk_toolchain_bin / (android_ndk_toolchain_prefix + 'clang') ]
|
|
cpp = andriod_ndk_toolchain_bin / (android_ndk_toolchain_prefix + 'clang++')
|
|
# cpp = [ 'ccache', andriod_ndk_toolchain_bin / (android_ndk_toolchain_prefix + 'clang++') ]
|
|
strip = andriod_ndk_toolchain_bin / 'llvm-strip'
|
|
# only needed if you want to run the custom target powder_apk (powder.apk)
|
|
javac = '/usr/lib/jvm/java-8-openjdk/bin/javac'
|
|
jar = '/usr/lib/jvm/java-8-openjdk/bin/jar'
|
|
d8 = '/opt/android-sdk/build-tools/32.0.0/d8'
|
|
aapt = '/opt/android-sdk/build-tools/32.0.0/aapt'
|
|
aapt2 = '/opt/android-sdk/build-tools/32.0.0/aapt2'
|
|
zipalign = '/opt/android-sdk/build-tools/32.0.0/zipalign'
|
|
apksigner = '/opt/android-sdk/build-tools/32.0.0/apksigner'
|