Etienne Dechamps would like Ziwen Lin, Andrew Grieve, Chromium LUCI CQ and Peter Wen to review this change.
Revert "[Build] Migrate Log usage." for Cronet
This reverts commit e82c6c9882580d49849afe7029671e25a0a353af.
Reason for revert: this change is not safe for Cronet. It is adding a dependency on a class (org.chromium.base.Log) that Cronet does not ship in the relevant packages. The change also ignored an explicit directive in Cronet's BUILD.gn urging authors to add dependencies to "deps_to_package". Downstream consumers will likely instantly blow up with a "class not found" error at runtime.
Original change's description:
> [Build] Migrate Log usage.
>
> Will enable NoAndroidLog errorprone check in a follow-up CL after migration is complete.
>
> Design Doc:
> https://docs.google.com/document/d/17pKwYfMG7OVyqgOQPplIH5U_dVtXOm8XA_aCbtZgWlQ/edit?usp=sharing
>
> Bug: 481747262
> Change-Id: I42f1e374590d3f98cd27807e0091192d87121fc2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7555110
> Reviewed-by: Andrew Grieve <agr...@chromium.org>
> Commit-Queue: Ziwen Lin <ziw...@microsoft.com>
> Commit-Queue: Andrew Grieve <agr...@chromium.org>
> Owners-Override: Andrew Grieve <agr...@chromium.org>
> Reviewed-by: Peter Wen <wn...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1583521}
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The change is not in the configured time window. Rubber Stamper is only allowed to review reverts within 14 day(s). Learn more: go/rubber-stamper-user-guide.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sorry about that.
I think to get this reverted, you'll need to restrict to the files within //components/cronet, and then add to your android_library targets: `errorprone_args = [ "-Xep:NoAndroidLog:OFF" ]`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: components/cronet/android/BUILD.gn
Insertions: 7, Deletions: 0.
The diff is too large to show. Please review the diff.
```
Revert "[Build] Migrate Log usage." for Cronet
This reverts commit e82c6c9882580d49849afe7029671e25a0a353af.
Reason for revert: this change is not safe for Cronet. It is adding a dependency on a class (org.chromium.base.Log) that Cronet does not ship in the relevant packages. The change also ignored an explicit directive in Cronet's BUILD.gn urging authors to add dependencies to "deps_to_package". Downstream consumers will likely instantly blow up with a "class not found" error at runtime.
Original change's description:
> [Build] Migrate Log usage.
>
> Will enable NoAndroidLog errorprone check in a follow-up CL after migration is complete.
>
> Design Doc:
> https://docs.google.com/document/d/17pKwYfMG7OVyqgOQPplIH5U_dVtXOm8XA_aCbtZgWlQ/edit?usp=sharing
>
> Bug: 481747262
> Change-Id: I42f1e374590d3f98cd27807e0091192d87121fc2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7555110
> Reviewed-by: Andrew Grieve <agr...@chromium.org>
> Commit-Queue: Ziwen Lin <ziw...@microsoft.com>
> Commit-Queue: Andrew Grieve <agr...@chromium.org>
> Owners-Override: Andrew Grieve <agr...@chromium.org>
> Reviewed-by: Peter Wen <wn...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1583521}
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |