Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f43f5dff authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Do not install unused arch variant of audio libs



PRODUCT_PACKAGES installs the primary arch variant of executables
and both the primary and secondary arch variant of shared libraries.
It also installs the dependencies of each files.

A lot of audio libraries were listed in PRODUCT_PACKAGES although
they are dependencies of audioserver.
Thus those libraries where installed in both archs whereas
only the arch of the audioserver is needed.

Thus remove all audio libraries from PRODUCT_PACKAGES and have them
installed automatically as a dependency of audioserver in the arch
variant of audioserver.

That should also save ~3MB of space on the system partition.

Test: m -j; du -a $ANDROID_PRODUCT_OUT/system > before
      # apply this patch
      rm -r $ANDROID_PRODUCT_OUT
      m -j; du -a $ANDROID_PRODUCT_OUT/system > after
      meld before after
      # lib64 is not changed, lib32 does not have audio libs
Signed-off-by: default avatarKevin Rocard <krocard@google.com>

Change-Id: Icbcf4c92d60819ca2f9c14ba0aec043584ed081f
parent 704d7ace
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