diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-02 13:57:01 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-02 13:57:01 +0000 |
commit | 0f4dfc4e9d4c2cbae69442e415639476c73478b2 (patch) | |
tree | 3ca8eafdce150bdc3e43f0b7d99aae9a8d40ff88 /android | |
parent | 4343399473929fd5e746ceee23350d5c6cb264cf (diff) |
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
Diffstat (limited to 'android')
-rw-r--r-- | android/android.make | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/android/android.make b/android/android.make index 53d5d46bbf..ab59888b79 100644 --- a/android/android.make +++ b/android/android.make @@ -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 |