Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaca16f0 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Only default LOCAL_DEX_PREOPT_APP_IMAGE if not set

Allows modules to specify LOCAL_DEX_PREOPT_APP_IMAGE := false if they
have a profile.

Test: make
Change-Id: Ied7a8099b199904638dabdb09faf879d3216e73d
parent 9b72b53a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -112,8 +112,10 @@ ifeq (true,$(LOCAL_DEX_PREOPT_GENERATE_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_CLASS_LISTING
$(call pretty-error,Must have specified class listing (LOCAL_DEX_PREOPT_PROFILE_CLASS_LISTING))