Merge "Revert "remove unneeded dontwarn settings"" am: 7f6fc715ba

Original change: https://android-review.googlesource.com/c/platform/build/+/2412692

Change-Id: Ic924e106dd68e55607324f43607bda54dd0b7089
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sam Delmerico
2023-02-01 16:45:01 +00:00
committed by Automerger Merge Worker

View File

@@ -83,14 +83,13 @@
# 1) runtime-visible annotations will still be kept, and 2) compile-time
# annotations are stripped by R8 anyway.
# Note: The ** prefix is used to accommodate jarjar repackaging.
# TODO(b/266561579): Remove this exemptions after resolving jarjar-ed transitive libs
# TODO(b/242088131): Remove these exemptions after resolving transitive libs
# dependencies that are provided to R8.
-dontwarn **android**.annotation*.**
# These classes generate warnings of the kind `Library class extends program class`
# because some apps have deps that statically include the same libraries as the app,
# and r8 complains that a library is implementing a class provided by the app (the "program").
-dontwarn com.google.protobuf.**
-dontwarn kotlin.reflect.jvm.internal.ReflectionFactoryImpl
-dontwarn **com.google.errorprone.annotations.**
-dontwarn javax.annotation.**
-dontwarn org.checkerframework.**
-dontwarn org.jetbrains.annotations.**
# Less spammy.
-dontnote