I found article that has following macros __arm__, __i386__
It has solution for ARMv7 detection.
But I would like detect that code was compiled for ARMv7 directly from CPP instead of using Android.mk to include different CPP files
I am not looking for cpufeatures
I am looking for target CPU for selected lib.
You are probably looking for
__ARM_ARCH_7A__macro.