am f7084ca9
: Run zipalign after classes.dex is removed from the apk
* commit 'f7084ca9218b35b41523d7fb0926a8773ecf2ef4': Run zipalign after classes.dex is removed from the apk
This commit is contained in:
commit
befb2623c9
1 changed files with 4 additions and 2 deletions
|
@ -421,15 +421,17 @@ ifneq ($(extra_jar_args),)
|
|||
$(add-java-resources-to-package)
|
||||
endif
|
||||
$(sign-package)
|
||||
@# Alignment must happen after all other zip operations.
|
||||
$(align-package)
|
||||
ifdef LOCAL_DEX_PREOPT
|
||||
$(hide) rm -f $(patsubst %.apk,%.odex,$@)
|
||||
$(call dexpreopt-one-file,$@,$(patsubst %.apk,%.odex,$@))
|
||||
ifneq (nostripping,$(LOCAL_DEX_PREOPT))
|
||||
$(call dexpreopt-remove-classes.dex,$@)
|
||||
endif
|
||||
endif
|
||||
@# Alignment must happen after all other zip operations.
|
||||
$(align-package)
|
||||
|
||||
ifdef LOCAL_DEX_PREOPT
|
||||
built_odex := $(basename $(LOCAL_BUILT_MODULE)).odex
|
||||
$(built_odex): $(LOCAL_BUILT_MODULE)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue