am 99505268: am 20b970e2: Merge "Issue warning when "make snod" with dexpreopt enabled."

* commit '9950526875f3b71c764a6d39623842e3c26416db':
  Issue warning when "make snod" with dexpreopt enabled.
This commit is contained in:
Jean-Baptiste Queru 2012-02-24 11:36:52 -08:00 committed by Android Git Automerger
commit 41ab528fe3
1 changed files with 6 additions and 0 deletions

View File

@ -829,6 +829,12 @@ systemimage-nodeps snod: $(filter-out systemimage-nodeps snod,$(MAKECMDGOALS)) \
$(call build-systemimage-target,$(INSTALLED_SYSTEMIMAGE))
$(hide) $(call assert-max-image-size,$(INSTALLED_SYSTEMIMAGE),$(BOARD_SYSTEMIMAGE_PARTITION_SIZE),yaffs)
ifneq (,$(filter systemimage-nodeps snod, $(MAKECMDGOALS)))
ifeq (true,$(WITH_DEXPREOPT))
$(warning Warning: with dexpreopt enabled, you may need a full rebuild.)
endif
endif
#######
## system tarball
define build-systemtarball-target