[Android] build: fix java dependencies
Thomas Guillem
git at videolan.org
Tue Oct 21 12:09:24 CEST 2014
vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Tue Oct 21 11:29:54 2014 +0200| [15ce57296972dc8ae8ef748bce3005318be791e6] | committer: Thomas Guillem
build: fix java dependencies
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=15ce57296972dc8ae8ef748bce3005318be791e6
---
Makefile | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
index 6b3bcda..bcf504e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,18 +5,8 @@ export ANDROID_HOME=$(ANDROID_SDK)
ARCH = $(ANDROID_ABI)
SRC=vlc-android
-JAVA_SOURCES=\
- $(SRC)/src/org/videolan/vlc/*.java \
- $(SRC)/src/org/videolan/vlc/util/*.java \
- $(SRC)/src/org/videolan/vlc/gui/*.java \
- $(SRC)/src/org/videolan/vlc/gui/expandable/*.java \
- $(SRC)/src/org/videolan/vlc/gui/video/*.java \
- $(SRC)/src/org/videolan/vlc/gui/audio/*.java \
- $(SRC)/src/org/videolan/vlc/gui/audio/widget/*.java \
- $(SRC)/src/org/videolan/vlc/interfaces/*.java \
- $(SRC)/src/org/videolan/vlc/audio/*.java \
- $(SRC)/src/org/videolan/vlc/widget/*.java \
- $(SRC)/src/org/videolan/libvlc/*.java
+JAVA_SOURCES=$(shell find $(SRC)/src/org/videolan -name "*.java" -o -name "*.aidl")
+JAVA_SOURCES+=$(shell find $(SRC)/res -name "*.xml" -o -name "*.png")
JNI_SOURCES=$(SRC)/jni/*.c $(SRC)/jni/*.h
LIBVLC_LIBS = libvlcjni
More information about the Android
mailing list