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

Commit 2794e7b5 authored by Yohann Roussel's avatar Yohann Roussel
Browse files

Check values of LOCAL_JACK_ENABLED

And throw an error in case of unknown value.

Change-Id: I5cf6276ac433e0b3af51b30b9dad57b689fa0694
parent 6ba8bd13
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@
LOCAL_JACK_ENABLED := $(strip $(LOCAL_JACK_ENABLED))
ifneq ($(LOCAL_JACK_ENABLED),full)
ifneq ($(LOCAL_JACK_ENABLED),incremental)
ifdef LOCAL_JACK_ENABLED
ifneq ($(LOCAL_JACK_ENABLED),disabled)
$(error $(LOCAL_PATH): invalid LOCAL_JACK_ENABLED "$(LOCAL_JACK_ENABLED)" for $(LOCAL_MODULE))
endif
endif
LOCAL_JACK_ENABLED :=
endif
endif