summaryrefslogtreecommitdiffstats
path: root/core/host_dalvik_java_library.mk
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-02-05 15:27:38 +0100
committerYohann Roussel <yroussel@google.com>2015-02-05 15:27:38 +0100
commitc6b44d43c38b80a52ed9ade7f9b503685dd129a7 (patch)
tree1d3ac276784eebf375701f52687d0898ddec4aae /core/host_dalvik_java_library.mk
parent9d528c778b32300f9f19cd9ef57bd79f5458e0ae (diff)
downloadbuild-c6b44d43c38b80a52ed9ade7f9b503685dd129a7.zip
build-c6b44d43c38b80a52ed9ade7f9b503685dd129a7.tar.gz
build-c6b44d43c38b80a52ed9ade7f9b503685dd129a7.tar.bz2
Force make to check date of classes.jack after Jack run
Bug: 19230260 Change-Id: Ibcbacd9e0630cd295ad262bd152fc070866071d2
Diffstat (limited to 'core/host_dalvik_java_library.mk')
-rw-r--r--core/host_dalvik_java_library.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/host_dalvik_java_library.mk b/core/host_dalvik_java_library.mk
index f5da638..502016b 100644
--- a/core/host_dalvik_java_library.mk
+++ b/core/host_dalvik_java_library.mk
@@ -133,7 +133,11 @@ $(built_dex): $(java_sources) $(java_resource_sources) $(full_jack_lib_deps) \
@echo Building with Jack: $@
$(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)
+ @echo
$(LOCAL_BUILT_MODULE): PRIVATE_DEX_FILE := $(built_dex)
$(LOCAL_BUILT_MODULE): $(built_dex) $(java_resource_sources)