Build all APEXes at once, to reduce build startup time.

Also reduces the duplication in the script.

Test: art/build/apex/runtests.sh (with and without successful tests)
Change-Id: I317e056de5a98f1c32f7297bdfc515fc39108d46
1 file changed