This allows breaking apart the pre-hooks from the rest of the compilation steps, as a preliminary step towards being able to do some analysis on all project apps at once before actually compiling them.