Of course, __aarch64__ is not going to work here, because that CPP macro is not always defined for all files.
Now, when I use "lunch", I select a target device (such as the nexus9), so the target device is an aarch64 device, but that info does not always seem to propagate to the actual build commands.
So I would like to #define a new symbol that is condiftionally defined ONLY for aarch64+android targets, so that I can limit the effect of my changes to ONLY on aarch64 devices.
What is the best way of going about this?
Thanks
Please refer to
https://code.google.com/p/android/issues/detail?id=179564