Skip to content
Commit 0e0351d1 authored by Orion Hodson's avatar Orion Hodson
Browse files

libandroid_runtime,libhwui: use 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: I4fd3f34afc120462088e8f2c015d3cb19aca86dd
Merged-In: I4fd3f34afc120462088e8f2c015d3cb19aca86dd
(cherry picked from commit 33cbf8b1)
parent 3361ca6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment