summaryrefslogtreecommitdiffstats
path: root/android/android.make
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-06 02:02:54 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-06 02:02:54 +0000
commit13f7dffb09f47b909a50e622d0089289d8cbd9cd (patch)
tree8b278338421e40c1f2212fe404ca956563f12840 /android/android.make
parent919651a5e1b40ae829da3a31001a8fe35b8384f6 (diff)
downloadrockbox-13f7dffb09f47b909a50e622d0089289d8cbd9cd.tar.gz
rockbox-13f7dffb09f47b909a50e622d0089289d8cbd9cd.tar.bz2
rockbox-13f7dffb09f47b909a50e622d0089289d8cbd9cd.zip
Android: make R.java depend on android/res dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28517 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/android.make')
-rw-r--r--android/android.make4
1 files changed, 3 insertions, 1 deletions
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_)