Android/Java: Disable implicit compilation of dependecies to make the life easier for make.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29187 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4343399473
commit
0f4dfc4e9d
1 changed files with 6 additions and 4 deletions
|
@ -61,6 +61,8 @@ RES := $(wildcard $(ANDROID_DIR)/res/*/*)
|
|||
|
||||
CLEANOBJS += bin gen libs data
|
||||
|
||||
JAVAC_OPTS += -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(BUILDDIR)/bin
|
||||
|
||||
$(R_JAVA) $(AP_): $(MANIFEST) $(DIRS) $(RES)
|
||||
$(call PRINTS,AAPT $(subst $(BUILDDIR)/,,$@))$(AAPT) package -f -m \
|
||||
-J $(BUILDDIR)/gen -M $(MANIFEST) -S $(ANDROID_DIR)/res \
|
||||
|
@ -68,13 +70,13 @@ $(R_JAVA) $(AP_): $(MANIFEST) $(DIRS) $(RES)
|
|||
|
||||
$(BUILDDIR)/bin/$(PACKAGE_PATH)/R.class: $(R_JAVA)
|
||||
$(call PRINTS,JAVAC $(subst $(ROOTDIR)/,,$<))javac -d $(BUILDDIR)/bin \
|
||||
-classpath $(ANDROID_PLATFORM)/android.jar:$(BUILDDIR)/bin \
|
||||
-sourcepath $(ANDROID_DIR)/gen:$(ANDROID_DIR)/src $<
|
||||
$(JAVAC_OPTS) \
|
||||
-sourcepath $(ANDROID_DIR)/gen $<
|
||||
|
||||
$(BUILDDIR)/bin/$(PACKAGE_PATH)/%.class: $(ANDROID_DIR)/src/$(PACKAGE_PATH)/%.java $(BUILDDIR)/bin/$(PACKAGE_PATH)/R.class
|
||||
$(call PRINTS,JAVAC $(subst $(ROOTDIR)/,,$<))javac -d $(BUILDDIR)/bin \
|
||||
-classpath $(ANDROID_PLATFORM)/android.jar:$(BUILDDIR)/bin \
|
||||
-sourcepath $(ANDROID_DIR)/gen:$(ANDROID_DIR)/src $<
|
||||
$(JAVAC_OPTS) \
|
||||
-sourcepath $(ANDROID_DIR)/src $<
|
||||
|
||||
$(DEX): $(R_OBJ) $(JAVA_OBJ)
|
||||
$(call PRINTS,DX $(subst $(BUILDDIR)/,,$@))$(DX) --dex --output=$@ $(BUILDDIR)/bin
|
||||
|
|
Loading…
Reference in a new issue