The variable TARGET_ARCH_VERSION variable has been renamed to TARGET_ARCH_VARIANT, and armv7-a-neon is the exact target enables ARM NEON instructions.
Also, do include header <machine/cpu-features.h> to get ARM optimized routines compiled.
Code Review: https://review.source.android.com/#change,22208