Enable shrinking optimization of service-art
This change enables R8 code shrinking with R8 full mode of system server
jar service-art. The optimization settings
are set through inheriting
"framework-system-server-module-optimize-defaults", which is the common
optimization settings for all mainline module system server jar.
All classes extending SystemServer, and classes/methods/fileds annotated
with @SystemApi and @Keep will be considered as optimization entries.
entries unreachable code will be removed.
Ignore-AOSP-First: Submit this change internal first to merge the optimization settings.
Test: presubmit
Bug: 247779319
Change-Id: I10cdf5067ff600c23601ce01d1c821887959191a
2 files changed