diff options
| author | 2024-02-16 11:10:31 +0900 | |
|---|---|---|
| committer | 2024-02-16 11:12:14 +0900 | |
| commit | 82a7ebd7db390330f8837e3136f1c186a80930be (patch) | |
| tree | 0e74f94fd8552fbbf9e04d2b86659f522f5cf8da /libs/androidfw/misc.cpp | |
| parent | 5a92428a239f0efcedc68a7201a11373e16e2a86 (diff) | |
Use RRO for product-specific resources
Currently PackageInstaller is compiled differently, depending on the
product (tv / tablet) to select product-specific resources. That causes
divergence of system.img among targets.
Setting generate_product_characteristics_rro will automatically
generate an RRO package which contains resources having
product="{PRODUCT_CHARACTERISTICS}"'. The RRO package will be
installed to /product partition. PackageInstaller will instead be
compiled with '--product default', making system.img identical to all
targets. This also reduces complexity and duplicates of Android.bp.
Bug: 325011777
Test: boot and idmap2 dump
Change-Id: Ie345dd112a66bfd0d26d3b59a47bc2d982fe42c1
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions