android/include/meson.build: call javac directly, eliminate run-javac.sh
This commit is contained in:
parent
35c7c005ba
commit
94ef1e13e0
|
@ -9,10 +9,11 @@ bridge_header = custom_target(
|
||||||
'../app/src/main/java/org/musicpd/Bridge.java',
|
'../app/src/main/java/org/musicpd/Bridge.java',
|
||||||
],
|
],
|
||||||
command: [
|
command: [
|
||||||
join_paths(meson.current_source_dir(), 'run-javac.sh'),
|
|
||||||
javac,
|
javac,
|
||||||
join_paths(android_sdk_platform_dir, 'android.jar'),
|
'-source', '1.8', '-target', '1.8',
|
||||||
'@OUTDIR@',
|
'-Xlint:-options',
|
||||||
|
'-cp', join_paths(android_sdk_platform_dir, 'android.jar'),
|
||||||
|
'-h', '@OUTDIR@',
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/sh -e
|
|
||||||
|
|
||||||
JAVAC=$1
|
|
||||||
CLASSPATH=$2
|
|
||||||
GENINCLUDE=$3
|
|
||||||
|
|
||||||
"$JAVAC" -source 1.8 -target 1.8 -Xlint:-options \
|
|
||||||
-cp "$CLASSPATH" \
|
|
||||||
-h "$GENINCLUDE" \
|
|
||||||
"$4"
|
|
||||||
|
|
Loading…
Reference in New Issue