Introduce vintf_data module type
Introduce a new vintf_data module type which handles vintf_data
of four different types: device_cm, system_manifest, product_manifest,
and system_ext_manifest.
Bug: 340427295
Test: m vendor_compatibility_matrix.xml system_manifest.xml \
product_manifest.xml system_ext_manifest.xml
Change-Id: I32f270cb0e227104b6b7298327a74f123c18dc0c
diff --git a/android/config.go b/android/config.go
index 06d71c0..a95f938 100644
--- a/android/config.go
+++ b/android/config.go
@@ -2120,3 +2120,19 @@
func (c Config) InstallApexSystemServerDexpreoptSamePartition() bool {
return c.config.productVariables.GetBuildFlagBool("RELEASE_INSTALL_APEX_SYSTEMSERVER_DEXPREOPT_SAME_PARTITION")
}
+
+func (c *config) DeviceMatrixFile() []string {
+ return c.productVariables.DeviceMatrixFile
+}
+
+func (c *config) ProductManifestFiles() []string {
+ return c.productVariables.ProductManifestFiles
+}
+
+func (c *config) SystemManifestFile() []string {
+ return c.productVariables.SystemManifestFile
+}
+
+func (c *config) SystemExtManifestFiles() []string {
+ return c.productVariables.SystemExtManifestFiles
+}