@ -51,6 +51,7 @@ $(LOCAL_PREBUILT_MODULE_FILE):
@echo -e ${ CL_GRN } "Download:" ${ CL_RST } " $@ "
@echo -e ${ CL_GRN } "Download:" ${ CL_RST } " $@ "
i f n e q ( $( filter -out disabled , $ ( LOCAL_JACK_ENABLED ) ) , )
i f n e q ( $( filter -out disabled , $ ( LOCAL_JACK_ENABLED ) ) , )
i f n e q ( $( LOCAL_MAVEN_PACKAGING ) , a p k )
# This is required to be defined before the LOCAL_MODULES target below gets defined, it's a NOOP registered again in
# This is required to be defined before the LOCAL_MODULES target below gets defined, it's a NOOP registered again in
# BUILD_PREBUILT. This is done because BUILD_PREBUILT doesn't actually handle generating the .jack files properly and
# BUILD_PREBUILT. This is done because BUILD_PREBUILT doesn't actually handle generating the .jack files properly and
# only generates a target but doesn't set the LOCAL_MODULE dependent on it.
# only generates a target but doesn't set the LOCAL_MODULE dependent on it.
@ -59,9 +60,10 @@ $(call intermediates-dir-for,JAVA_LIBRARIES,$(LOCAL_MODULE),,COMMON):
# This adds another step required for LOCAL_MODULE to be completed -- generating the jack file, it just so happens
# This adds another step required for LOCAL_MODULE to be completed -- generating the jack file, it just so happens
# to be built when doing a brunch, but not when doing an mmm, so this makes it work with both
# to be built when doing a brunch, but not when doing an mmm, so this makes it work with both
$(LOCAL_MODULE) : $( call intermediates -dir -for ,JAVA_LIBRARIES ,$ ( LOCAL_MODULE ) ,,COMMON ) /classes .jack
$(LOCAL_MODULE) : $( call intermediates -dir -for ,JAVA_LIBRARIES ,$ ( LOCAL_MODULE ) ,,COMMON ) /classes .jack
e n d i f # LOCAL_MAVEN_PACKING is not apk
e n d i f # LOCAL_JACK_ENABLED is full or partial
e n d i f # LOCAL_JACK_ENABLED is full or partial
i n c l u d e $( BUILD_PREBUILT )
i n c l u d e $( BUILD_PREBUILT )
# the "fetchprebuilts" target will go through and pre-download all of the maven dependencies in the tree
# the "fetchprebuilts" target will go through and pre-download all of the maven dependencies in the tree
fetchprebuilts : $( LOCAL_PREBUILT_MODULE_FILE )
fetchprebuilts : $( LOCAL_PREBUILT_MODULE_FILE )