mpd/android/run-javac.sh
Colin Edwards 906d58a918 android: migrate app build system to use gradle
Most of the Android specific meson code has been removed and replaced with
the grade build system.

The new meson build scripts build and move the libmpd.so binaries into the correct
location that gradle expects. After than gradle handles building the rest of the Android app.

Icons and banners have been updated for the modern app packaging expectations.

For reference here was the figma template Google provides that I used to back the png versions
for older versions of Android <https://www.figma.com/community/file/1283953738855070149>
2023-12-17 22:38:34 -06:00

16 lines
246 B
Bash
Executable File

#!/bin/sh -e
JAVAC=$1
CLASSPATH=$2
DIRNAME=`dirname "$3"`
REALDIR=`realpath "$DIRNAME"`
GENINCLUDE="$REALDIR/include"
mkdir -p "$GENINCLUDE"
"$JAVAC" -source 1.8 -target 1.8 -Xlint:-options \
-cp "$CLASSPATH" \
-h "$GENINCLUDE" \
"$4"