diff options
author | Mark Renouf <mrenouf@google.com> | 2014-09-09 20:08:46 -0400 |
---|---|---|
committer | Mark Renouf <mrenouf@google.com> | 2014-09-09 20:42:48 -0400 |
commit | 99332f11c5cdf1e58eb056c019d3ca8b1e3f034a (patch) | |
tree | 9cb354ad0dd03770452d1a9847c691f9207f927f /core/proguard_tests.flags | |
parent | 4f3d31479d5e4e8d35e60de628417cb820d69f5e (diff) | |
download | build-99332f11c5cdf1e58eb056c019d3ca8b1e3f034a.zip build-99332f11c5cdf1e58eb056c019d3ca8b1e3f034a.tar.gz build-99332f11c5cdf1e58eb056c019d3ca8b1e3f034a.tar.bz2 |
Allow for opt-in of proguard shrinking of tests with new flag
By adding 'shrinktests' to LOCAL_PROGUARD_ENABLED, the -dontshrink
flag will be omitted from the resulting proguard config allowing
tests to have unnecessary classes removed before dexxing.
Clockwork is running into 64k method limits on some tests which
depend on GmsCore. On 4.4W (klp-modular-dev) we don't have the
option for multi-dex so proguard is the only solution here.
This change leaves the default behavior unchanged. Shrinking is
still disabled for tests by default unless the 'shrinktests'
flag is set in the Makefile.
Change-Id: Ib586ae9e7f617072b41e95742559bf7c8a6a6ce1
Diffstat (limited to 'core/proguard_tests.flags')
-rw-r--r-- | core/proguard_tests.flags | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/proguard_tests.flags b/core/proguard_tests.flags index 4481a1b..1f840bc 100644 --- a/core/proguard_tests.flags +++ b/core/proguard_tests.flags @@ -1,5 +1,6 @@ # Keep everything for tests --dontshrink +# This flag has been moved to the makefiles and is set for tests by default. +#-dontshrink # But we may want to obfuscate if the main app gets obfuscated. # This flag has been moved to the makefiles. |