summaryrefslogtreecommitdiffstats
path: root/core/configure_local_jack.mk
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-02-18 16:38:40 +0100
committerYohann Roussel <yroussel@google.com>2015-02-19 12:41:11 +0100
commitb821391614896e6156ffa3e4c2b0f4aef7e80793 (patch)
tree66d5d222715bdc64b2a4f580b0ba008abf83705d /core/configure_local_jack.mk
parent6ba8bd13cb3b9d2b276d02590c82ba5384c13ebd (diff)
downloadbuild-b821391614896e6156ffa3e4c2b0f4aef7e80793.zip
build-b821391614896e6156ffa3e4c2b0f4aef7e80793.tar.gz
build-b821391614896e6156ffa3e4c2b0f4aef7e80793.tar.bz2
Allow global overriding LOCAL_JACK_ENABLED
If the variable ANDROID_FORCE_JACK_ENABLED it will override any local value. Change-Id: I3fc99b97783dd3a89c3240a8a4269ebf9e477f3f
Diffstat (limited to 'core/configure_local_jack.mk')
-rw-r--r--core/configure_local_jack.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/configure_local_jack.mk b/core/configure_local_jack.mk
index 159fac4..297c7e2 100644
--- a/core/configure_local_jack.mk
+++ b/core/configure_local_jack.mk
@@ -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)