forked from openkylin/platform_build
Fix for "dexopt: No such file or directory" error
When common_javalib.jar is created, both LOCAL_BUILT_MODULE and built_odex targets can be run. If built_odex target runs before the directory is created by LOCAL_BUILT_MODULE target, the error occurs. Change-Id: I1ebcb27630f8373558da6acdfce95f5cdf714bbf
This commit is contained in:
parent
7a8efe57a9
commit
5c97da76ad
|
@ -90,6 +90,7 @@ $(built_odex) : $(DEXPREOPT_BOOT_ODEXS)
|
|||
$(built_odex) : $(common_javalib.jar) | $(DEXPREOPT) $(DEXOPT)
|
||||
@echo "Dexpreopt Jar: $(PRIVATE_MODULE) ($@)"
|
||||
$(hide) rm -f $@
|
||||
@mkdir -p $(dir $@)
|
||||
$(call dexpreopt-one-file,$<,$@)
|
||||
|
||||
$(LOCAL_BUILT_MODULE) : $(common_javalib.jar) | $(ACP) $(AAPT)
|
||||
|
|
Loading…
Reference in New Issue