commit | b734bb791525a05960efcc69ba5bc713d82fcbe7 | [log] [tgz] |
---|---|---|
author | Andrew Grieve <[email protected]> | Wed Sep 11 14:47:08 2024 |
committer | Copybara-Service <[email protected]> | Wed Sep 11 15:06:46 2024 |
tree | 44365405eec91e09b9d6c0a4d913ea751edbdc8d | |
parent | e8205abbf29436562ede3fea028371007ee0d299 [diff] |
Replace @AutoService with @ServiceImpl to avoid annotation processor It's easy to forget to add a dep onto the AutoService annotation processor and compiles do not fail when you forget. To avoid such issues, this introduces a new annotation and direct support in compile_java.py for creating service loader files from it. Bug: 40901855 Change-Id: Ide5805bdb96053f6047ceff33c55aed01324a08f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850619 Commit-Queue: Andrew Grieve <[email protected]> Reviewed-by: Sam Maier <[email protected]> Auto-Submit: Andrew Grieve <[email protected]> Cr-Commit-Position: refs/heads/main@{#1353936} NOKEYCHECK=True GitOrigin-RevId: 19e95ddd963d9029d1cd5a46566b047085c3108d