How do I compile RetroArch cores for Android on MacOS?

Is it possible to compile RetroArch cores for Android on MacOS? I looked at the compilation page and only found guides for Windows and Linux.

Would also like to know this for the Vita.