How to post process Unity-built dll before il2cpp kicks in?

I need to post process dlls generated by Unity (with Android as a target platform), but I’m not sure how to do that. Is there any way to do that after the c# build is completed but before il2cpp starts?

The best option right now is to use assemblyCompilationFinished event. This event is emitted every time we compile an assembly in the editor, not only when building the player.

We have made a note of the request for a callback after compilation of player assemblies finishes and before IL2CPP processes the assemblies.