#define A
if A
Debug.Log("A");
#endif
The compiler chooses android mode.
execute concurrently
#if UNITY_ANDROID
Debug.Log("UNITY_ANDROID");
#endif
#if UNITY_EDITOR
Debug.Log("UNITY_EDITOR");
#endif
#