From 13f7dffb09f47b909a50e622d0089289d8cbd9cd Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Sat, 6 Nov 2010 02:02:54 +0000 Subject: [PATCH] Android: make R.java depend on android/res dir git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28517 a1c6a512-1295-4272-9138-f99709370657 --- android/android.make | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/android.make b/android/android.make index 6701cbbfca..b28f5c943c 100644 --- a/android/android.make +++ b/android/android.make @@ -55,9 +55,11 @@ DIRS += $(subst ___,gen,$(_DIRS)) DIRS += $(subst ___,data,$(_DIRS)) DIRS += $(BUILDDIR)/libs/armeabi +RES := $(wildcard $(ANDROID_DIR)/res/*/*) + CLEANOBJS += bin gen libs data -$(R_JAVA) $(AP_): $(MANIFEST) $(DIRS) +$(R_JAVA) $(AP_): $(MANIFEST) $(DIRS) $(RES) $(call PRINTS,AAPT $(subst $(BUILDDIR)/,,$@))$(AAPT) package -f -m \ -J $(BUILDDIR)/gen -M $(MANIFEST) -S $(ANDROID_DIR)/res \ -I $(ANDROID_PLATFORM)/android.jar -F $(AP_)