The new buildPlugin codegen target is ran prior to generating any library. This is currently only required for the AIP library, but it may grow to more libraries in the future. We should improve this target to selectively run only for libraries that need it.