Reputation: 16631
Proguard 6 is out since February and provides some new features, among which the -android option
"A new option -android, to tune the optimizations for Android"
I would like to know more about this option, to understand what it really does in terms of optimization (& possibly obfuscation).
I search on guardsquare.com and Googled for it: I could only find a dead link about android on this page. Here is the link:
> android <- dead link
Target the processed class files at Android.
Where can I find clear and detailed explanations about this new option?
Thanks
Upvotes: 0
Views: 189
Reputation: 4222
I search on guardsquare.com and Googled for it: I could only find a dead link
We can always look at source code!
First, I downloaded a snapshot 6.3.3 sources from Sourceforge repository page.
After unpacking:
grep -R android core/src/ | wc -l
27
Only 27 mentions of 'android'. Let's go over the list:
maximum.inlined.code.length
is set to 32 for Android — 4 times as much as JVM defaultFloatMath
with Math
(not really that important of optimization...)android.util.Log
)5 and 6 aren't even related to the command-line -android
option, — just some extra code, relevant for Android users.
Upvotes: 3