Issue created for Rollback of PR #60180: Use a custom rule for API files generation
Rolled forward again at https://github.com/tensorflow/tensorflow/commit/641501d1c773fe2b8527f63052ee3ae4f05c01a2
Merged PR #60180 is rolled back in ec0ba2461436eb45881a6e76ca29ed49dcd21a66.
    Please follow up with the reviewer and close this issue once its resolved.