Force make to check date of classes.jack after Jack run
Bug: 19230260 Change-Id: Ibcbacd9e0630cd295ad262bd152fc070866071d2
This commit is contained in:
parent
9d528c778b
commit
c6b44d43c3
|
@ -133,7 +133,11 @@ $(built_dex): $(java_sources) $(java_resource_sources) $(full_jack_lib_deps) \
|
||||||
@echo Building with Jack: $@
|
@echo Building with Jack: $@
|
||||||
$(jack-java-to-dex)
|
$(jack-java-to-dex)
|
||||||
|
|
||||||
|
# The empty command was added because, without it, make misses the fact the $(built_dex) also
|
||||||
|
# change $(full_classes_jack). Looks like it would test the date before running $(built_dex)
|
||||||
|
# command.
|
||||||
$(full_classes_jack): $(built_dex)
|
$(full_classes_jack): $(built_dex)
|
||||||
|
@echo
|
||||||
|
|
||||||
$(LOCAL_BUILT_MODULE): PRIVATE_DEX_FILE := $(built_dex)
|
$(LOCAL_BUILT_MODULE): PRIVATE_DEX_FILE := $(built_dex)
|
||||||
$(LOCAL_BUILT_MODULE): $(built_dex) $(java_resource_sources)
|
$(LOCAL_BUILT_MODULE): $(built_dex) $(java_resource_sources)
|
||||||
|
|
|
@ -610,7 +610,12 @@ $(built_dex_intermediate): $(jack_all_deps)
|
||||||
@echo Building with Jack: $@
|
@echo Building with Jack: $@
|
||||||
$(jack-java-to-dex)
|
$(jack-java-to-dex)
|
||||||
|
|
||||||
|
# The empty command was added because, without it, make misses the fact the $(built_dex) also
|
||||||
|
# change $(full_classes_jack). Looks like it would test the date before running $(built_dex)
|
||||||
|
# command.
|
||||||
$(full_classes_jack): $(built_dex_intermediate)
|
$(full_classes_jack): $(built_dex_intermediate)
|
||||||
|
@echo
|
||||||
|
|
||||||
# nothing to do it's built as a side effect of $(built_dex_intermediate)
|
# nothing to do it's built as a side effect of $(built_dex_intermediate)
|
||||||
endif #LOCAL_IS_STATIC_JAVA_LIBRARY
|
endif #LOCAL_IS_STATIC_JAVA_LIBRARY
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue