Move lyric sysconfig to vendor

This sysconfig is about the apex (com.google.pixel.camera.hal). So it
should be installed with the apex, not in /product.

Bug: 375357389
Test: SysConfigTest#testVendorApexAllowlist
Change-Id: I551870fcff576527d3fdfff3d17a5e7b0ce198a9
This commit is contained in:
Jooyung Han 2024-12-23 11:23:37 +09:00
parent b24840ba97
commit 31e885a477
3 changed files with 18 additions and 0 deletions

View file

@ -58,3 +58,11 @@ prebuilt_etc {
init_rc: ["libg3a_ghawb.rc"],
src: "libg3a_ghawb.rc",
}
prebuilt_etc {
name: "vendor-apex-allowlist-lyric.xml",
src: "vendor-apex-allowlist-lyric.xml",
vendor: true,
sub_dir: "sysconfig",
filename_from_src: true,
}

View file

@ -58,6 +58,7 @@ PRODUCT_PACKAGES += libg3a_standalone_ghawb_rc
# Vendor APEX which contains the camera HAL
PRODUCT_PACKAGES += com.google.pixel.camera.hal
PRODUCT_PACKAGES += venodr-apex-allowlist-lyric.xml
PRODUCT_PACKAGES += init.camera.set-interrupts-ownership
PRODUCT_PACKAGES += lyric_preview_dis_xml

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This XML file declares the vendor apex package names eligible for installation.
-->
<config>
<allowed-vendor-apex package="com.google.pixel.camera.hal" installerPackage="com.google.android.GoogleCamera" />
</config>