[Android] [PATCH 4/6] build: fix java dependencies
Thomas Guillem
tom at gllm.fr
Tue Oct 21 11:48:41 CEST 2014
---
Makefile | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
index 6b3bcda..dc92c38 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 -type f)
+JAVA_SOURCES+=$(shell find $(SRC)/res -type f)
JNI_SOURCES=$(SRC)/jni/*.c $(SRC)/jni/*.h
LIBVLC_LIBS = libvlcjni
--
2.1.0
More information about the Android
mailing list