forked from openkylin/platform_build
Revert "Work around incorrect R8 proguard compatibility"
This reverts commit cf5180c198
.
Reason for revert: r8 behaves more like proguard now.
Bug: 80081393
Test: m checkbuild
Test: examine attributes on com.android.stk.BootCompletedReceiver
in out/target/common/obj/APPS/Stk_intermediates/classes.dex
Change-Id: I6cff1d7cb6b71023399db6492455f69328dd73f3
This commit is contained in:
parent
cf5180c198
commit
c8148cc001
|
@ -458,9 +458,6 @@ endif
|
|||
ifeq ($(filter obfuscation,$(LOCAL_PROGUARD_ENABLED)),)
|
||||
# By default no obfuscation
|
||||
common_proguard_flags += -dontobfuscate
|
||||
# Workaround for b/80081393: R8 discards other attributes when
|
||||
# -keepattributes *Annotations* is used, even when obfuscation is off.
|
||||
common_proguard_flags += -keepattributes '*'
|
||||
endif # No obfuscation
|
||||
ifeq ($(filter optimization,$(LOCAL_PROGUARD_ENABLED)),)
|
||||
# By default no optimization
|
||||
|
|
Loading…
Reference in New Issue