Snap for 12991197 from 49c3d392ad to 25Q2-release

Change-Id: I35c42e11115b922f2b21949b12a5094e454c097e
This commit is contained in:
Android Build Coastguard Worker
2025-01-30 16:18:04 -08:00
2 changed files with 8 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ messaging_java_defaults {
soong_config_variables: {
build_variant_eng: {
optimize: {
keep_runtime_invisible_annotations: true,
proguard_flags_files: [
"proguard.flags",
"proguard-test.flags",
@@ -39,6 +40,7 @@ messaging_java_defaults {
},
conditions_default: {
optimize: {
keep_runtime_invisible_annotations: true,
proguard_flags_files: [
"proguard.flags",
"proguard-release.flags",

View File

@@ -14,7 +14,12 @@
#
# Keep enough data for stack traces
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,*Annotation*
-keepattributes SourceFile,
LineNumberTable,
RuntimeVisibleAnnotations,
RuntimeVisibleParameterAnnotations,
RuntimeVisibleTypeAnnotations,
AnnotationDefault
# Keep classes and methods that have the guava @VisibleForTesting annotation
# TODO(b/373579455): Evaluate if <init> needs to be kept.