summaryrefslogtreecommitdiffstats
path: root/core/proguard_basic_keeps.flags
Commit message (Collapse)AuthorAgeFilesLines
* Keep Throwable's constructor that takes a String argument.Ying Wang2015-05-111-0/+5
| | | | | Bug: 20495321 Change-Id: Iaf041da325e1d31f136f36e8ed85b2d90c578b0e
* Raise SDK version for ProGuard processing when app links support library.Ying Wang2015-05-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | When an app's LOCAL_SDK_VERSION is lower than the support library's LOCAL_SDK_VERSION, we artifically raises the "SDK version" "linked" by ProGuard, to - suppress ProGuard warnings of referencing symbols unknown to the lower SDK version. - prevent ProGuard stripping subclass in the support library that extends class added in the higher SDK version. This allows us to remove the dangerous ProGuard flag "-dontwarn android.support.**". Notes: - We don't raise the app's LOCAL_SDK_VERSION, so that the app's own code is still unable to use the higher SDK version. - For platform build, we can't just raise to the "current" SDK, because would break apps that use APIs removed from the current SDK. We raise it to framework.jar instead, which contains the most complete symbol set. Bug: 20658265 Change-Id: I90099073457a65cb8031fbaec6b396d68ce614a7 (cherry picked from commit 8e8d1e7abadb53d5dcb211fac6ab6ed20f5dc9ac)
* Less spammy ProGuard.Ying Wang2014-06-171-0/+3
| | | | Change-Id: I465921b878c4ed6ec5d564704801e435d1aaa63c
* Keep Parcelable CREATOR fieldsScott Kennedy2014-04-071-3/+4
| | | | Change-Id: I64451134a9d11d17307ef4d8ea923df5fe5e37ed
* Remove -allowaccessmodification from the basic Proguard flagsYing Wang2013-08-131-1/+0
| | | | | | | | It seems with that flag Proguard modifies the class files in a way that Dalvik does not like. Bug: 10307364 Change-Id: If0cc7552da00ae8a3a3a39a9f2f029819ca3164a
* Tweak proguard flags in the 2 files.Ying Wang2013-06-121-6/+12
| | | | | | | | So all most commonly-used flags go to proguard_basic_keeps.flags and they will still be applied when LOCAL_PROGUARD_ENABLED=nosystem. Bug: 9203442 Change-Id: If018076dc625ac1efe31898b179dbba850218aaf
* Split out proguard_basic_keeps.flagsYing Wang2013-05-171-0/+55
For 'LOCAL_PROGUARD_ENABLED := nosystem' we still include proguard_basic_keeps.flags. Change-Id: I43ee7e98d2aaeb84879441f90ab6839c0e8f4e65