7311a344bed507062e781ba70331d85652c217d8 |
|
22-Aug-2013 |
Ying Wang <wangying@google.com> |
Make it easier to enable obfuscation and optimization. With this change, use: * LOCAL_PROGUARD_ENABLED := obfuscation # to enable obfuscation * LOCAL_PROGUARD_ENABLED := optimization # to enable optimization * LOCAL_PROGUARD_ENABLED := obfuscation optimization # to enable both Now the meaning of the LOCAL_PROGUARD_ENABLED options: * full: Use the build system's default configurations: with shrink but no obfuscation or optimization, global proguard flags in build/core/proguard.flags are applied. * custom: The same as "full" except no aapt-generated resource-related proguard flags. * nosystem: Don't use any build system's default configurations; but aapt-generated proguard flags are still applied. You are responsible for any other flags. * disabled: Disable proguard. * obfuscation: The same as "full" but with obfuscation enabled. * optimization: The same as "full" but with optimization enabled. * no value (the default): The build system chooses the proper value: "full" if it's an app; "disabled" if it's a library. You can use more than 1 of them in a meaningful combination, for example: LOCAL_PROGUARD_ENABLED := obfuscation optimization Bug: 10307372 Change-Id: Id248caca3048e99547f16559fae74f4afe85c354
|
38cdd4429f23d9a0d27a6d8cfe318c29b604afbf |
|
30-May-2013 |
Ying Wang <wangying@google.com> |
Tweak proguard flags in the 2 files. 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
|
1b28087a58b3e05f4353a1011cff85b26f64724f |
|
30-May-2013 |
Ying Wang <wangying@google.com> |
Tweak proguard flags in the 2 files. 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
|
57453519084feb13f8a2c00b6985b32427a06b5a |
|
17-May-2013 |
Ying Wang <wangying@google.com> |
Split out proguard_basic_keeps.flags For 'LOCAL_PROGUARD_ENABLED := nosystem' we still include proguard_basic_keeps.flags. Change-Id: I43ee7e98d2aaeb84879441f90ab6839c0e8f4e65
|
f8f2b022e9e6ea218d60eb692ede3e6e48c944af |
|
23-Sep-2012 |
Ying Wang <wangying@google.com> |
Ignore support library Proguard warning The support library contains references to newer platform versions. Don't warn about those in case this app is linking against an older platform version. We know about them, and they are safe. Change-Id: Ia2a90398b1db1858d005ec09ded56751cc6ffb00
|
ddefdef5bc560d95f799993759c22ddc02e61b49 |
|
10-Aug-2010 |
Hung-ying Tyan <tyanh@google.com> |
Make ProGuard keep necessary members for serializable classes Change-Id: I845eb8280d0cab7e426b17c94d74bc409e66c193
|
4f85d00113ee29c71b8205332ba0b26a85dee1c7 |
|
09-Mar-2010 |
Bjorn Bringert <bringert@android.com> |
Make ProGuard keep @VisibleForTesting classes and methods Change-Id: I7f5d14fd4188859c52ab85c33af1ac275888611c
|
3b2bdf10338fb048fc749ce9f65a77f917f7d304 |
|
01-Feb-2010 |
Ying Wang <wangying@google.com> |
Fix and enable proguard on packages.
|
e6b4e5b20ac8a3b01f1a99dd877a98c92036ce5e |
|
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
|
2daa2b3b059ac755e8280741b23d65360ae233bc |
|
30-Aug-2009 |
Joe Onorato <joeo@android.com> |
Add the ability to turn on proguard for java targets, and to call aapt to generate a rules file for proguard for stuff from the manifest and other resources that need to be kept.
|