Android.mk: only build if TARGET_QCOM_VARIANT is set to legacy