4dcd0d1cb6
Also move deprecated TargetPlatform there. This allows to get rid of the dependency cli.common -> frontend, and even on frontend.common.