libmediandk: replace libnativehelper to libnativehelper_lazy
This change updates the dependencies of bootanimation to use a new
static library, libnativehelper_lazy, that loads libnativehelper
on demand. This means boot animation no longer depends on
libnativehelper.so. The affected frameworks libraries will load
libnativehelper lazily as-needed.
This change enables the removal of the ART APEX from the bootstrap
APEXes. The ART APEX provides libnativehelper.so and this is no longer
required during boot for bootanimation. Removing ART from the
bootstrap APEXes allows for compressing the system installed ART APEX
after an ART APEX update is applied and saves tens of megabytes of
storage.
Bug: 179115178
Test: TH
Test: manual inspection of the transitive dependencies of bootanimation.
Change-Id: Ife848e61c01055137be1aff745aceab7f5dd501e
Merged-In: Ife848e61c01055137be1aff745aceab7f5dd501e
(cherry picked from commit 23a214b8faf6d4a7fe33d32456520433d2624e59)
1 file changed