Merge "Only default LOCAL_DEX_PREOPT_APP_IMAGE if not set" into pi-dev

This commit is contained in:
Mathieu Chartier
2018-05-02 23:13:42 +00:00
committed by Android (Google) Code Review

View File

@@ -121,8 +121,10 @@ ifeq (true,$(my_process_profile))
ifdef LOCAL_VENDOR_MODULE
$(call pretty-error, Internal error: profiles are not supported for vendor modules)
else
ifeq (,$(LOCAL_DEX_PREOPT_APP_IMAGE))
LOCAL_DEX_PREOPT_APP_IMAGE := true
endif
endif
ifndef LOCAL_DEX_PREOPT_PROFILE
$(call pretty-error,Must have specified class listing (LOCAL_DEX_PREOPT_PROFILE))