Android: make R.java depend on android/res dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28517 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
919651a5e1
commit
13f7dffb09
1 changed files with 3 additions and 1 deletions
|
@ -55,9 +55,11 @@ DIRS += $(subst ___,gen,$(_DIRS))
|
||||||
DIRS += $(subst ___,data,$(_DIRS))
|
DIRS += $(subst ___,data,$(_DIRS))
|
||||||
DIRS += $(BUILDDIR)/libs/armeabi
|
DIRS += $(BUILDDIR)/libs/armeabi
|
||||||
|
|
||||||
|
RES := $(wildcard $(ANDROID_DIR)/res/*/*)
|
||||||
|
|
||||||
CLEANOBJS += bin gen libs data
|
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 \
|
$(call PRINTS,AAPT $(subst $(BUILDDIR)/,,$@))$(AAPT) package -f -m \
|
||||||
-J $(BUILDDIR)/gen -M $(MANIFEST) -S $(ANDROID_DIR)/res \
|
-J $(BUILDDIR)/gen -M $(MANIFEST) -S $(ANDROID_DIR)/res \
|
||||||
-I $(ANDROID_PLATFORM)/android.jar -F $(AP_)
|
-I $(ANDROID_PLATFORM)/android.jar -F $(AP_)
|
||||||
|
|
Loading…
Reference in a new issue