Allow global overriding LOCAL_JACK_ENABLED

If the variable ANDROID_FORCE_JACK_ENABLED it will override any local
value.

Change-Id: I3fc99b97783dd3a89c3240a8a4269ebf9e477f3f
This commit is contained in:
Yohann Roussel 2015-02-18 16:38:40 +01:00
parent 6ba8bd13cb
commit b821391614
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@
# limitations under the License.
#
ifdef ANDROID_FORCE_JACK_ENABLED
LOCAL_JACK_ENABLED := $(ANDROID_FORCE_JACK_ENABLED)
endif
LOCAL_JACK_ENABLED := $(strip $(LOCAL_JACK_ENABLED))
ifneq ($(LOCAL_JACK_ENABLED),full)
ifneq ($(LOCAL_JACK_ENABLED),incremental)