Previously, since the virt APEX/compos are configured as non-updatable,
the build system enabled the symlink optimization where files are
installed directly to the system partition and the APEX has symlinks to
the files. However, this forced us to add those files to
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST as we install the APEX
conditionally - because the inclusion of the APEX is done by a product,
not by the core build system.
This change works around the problem by turning the new switch
`future_updatable` on, so that the symlink optimization is forcibly
disabled.
Bug: 207336449
Test: watch TH
Test: run asit/ota/signing
Change-Id: I841b46895df036f278a85dd318f3317a351992c3
Previously, since the virt APEX is configured as non-updatable, the
build system enabled the symlink optimization where files are installed
directly to the system partition and the APEX has symlinks to the files.
However, this forced us to add those files to
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST as we install the APEX
conditionally - because the inclusion of the APEX is done by a product,
not by the core build system.
This change works around the problem by marking the APEX
non-installable. Then the build system doesn't enable the symlink
optimization.
Bug: 207336449
Test: watch TH
Change-Id: I020ae84defe5ce03f0fc2226f2fbd42a5823861e
Add a Java system server classpath fragment to wrap access to
composd. Provide initially empty SystemService and JobService classes.
Bug: 199147668
Test: manual
Change-Id: I5b2bb2f4c9b9086cca85983d0a659ea92409f6bf
We shouldn't be on /system since we're not generic (yet).
But we are closely coupled to /system (integrated with ART, will be
contributing to the system server classpath.
Prune the artifact path files to only the ones that are still written
to /system while we figure out what to do with them.
While I'm here, fix writing various Rust dylib.so files to /system by
making sure the "vm" binary prefers the rlibs.
Test: Boots, APEXes present
Bug: 186126194
Change-Id: Id84fb7bf0fb4e0fb56e0cb896394c31e5c7b5124
This file can be included by build targets where we want to include the
virt APEX in the system image.
Test: build a virt-enabled target
Change-Id: I285c5d1bb9b27265c8589f2588d95eafa324d412