Link compression libs statically into libartbase and use those everywhere.
All targets using these compression libs already use libartbase. This grows
libartbase VM size by 314K on 64 bit, but only these targets pack on the
extra the bloat of liblz4 (84K) and liblzma (174K): dexanalyze, dexdump2,
dexlayout(d), dexlist. libbacktrace and libunwindstack gain liblz4 only.
On the other hand this gets rid of static instances in several shared libs.
Test: mmma art
Test: art/test.py --host --64 --optimizing
Test: env ART_TEST_NO_SYNC=true make -j4 test-art-target-gtest
Test: art/test/testrunner/testrunner.py -j4 --target --64 --optimizing
Bug: 118374951
Change-Id: Ida103546d2d16ef892d09e9ca3a0ae5e3b42a541
10 files changed