build: Set android jack args to global jack server args if existing

Change-Id: Iafd416aaac81642c7ec736712b45ecbe05b0d55e
This commit is contained in:
Luca Stefani 2016-11-24 14:16:33 +01:00
parent 5b38c4fb34
commit 84fda60f6b

View file

@ -948,3 +948,8 @@ if [ -d $(gettop)/prebuilts/snapdragon-llvm/toolchains ]; then
;;
esac
fi
# Android specific JACK args
if [ -n "$JACK_SERVER_VM_ARGUMENTS" ] && [ -z "$ANDROID_JACK_VM_ARGS" ]; then
export ANDROID_JACK_VM_ARGS=$JACK_SERVER_VM_ARGUMENTS
fi