Commit f8d41208 authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Android: Enable vertical class merging ProGuard optimization

Shrinks monochrome_apk dex by 53kb uncompressed, 17kb compressed.
Shrinks method_count by 1400.

Bug: 620323
Change-Id: Ie9f7c37a20895ecd1d3f1f17357a663252a1be36
Reviewed-on: https://chromium-review.googlesource.com/981052Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545857}
parent 1afcdd5a
......@@ -48,9 +48,8 @@
# 5 | 1:56 | 5770504 | 486432
-optimizationpasses 3
# Class merging messes up stacktraces beyond the point of them being
# deobfuscatable. If turned on, it would give us a 2% reduction in .dex size.
-optimizations !class/merging/*
# Horizontal class merging marginally increases dex size (as of Mar 2018).
-optimizations !class/merging/horizontal
# Allowing Proguard to change modifiers. This change shrinks the .dex size by
# ~1%, and reduces the method count by ~4%.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment