diff --git a/sysprop/sysprop_library.go b/sysprop/sysprop_library.go index f1c2d0df0..a29d4c3ac 100644 --- a/sysprop/sysprop_library.go +++ b/sysprop/sysprop_library.go @@ -145,6 +145,9 @@ type syspropLibraryProperties struct { // If set to true, allow this module to be dexed and installed on devices. Installable *bool + // Make this module available when building for ramdisk + Ramdisk_available *bool + // Make this module available when building for recovery Recovery_available *bool @@ -396,6 +399,7 @@ type ccLibraryProperties struct { Recovery_available *bool Vendor_available *bool Product_available *bool + Ramdisk_available *bool Host_supported *bool Apex_available []string Min_sdk_version *string @@ -475,6 +479,7 @@ func syspropLibraryHook(ctx android.LoadHookContext, m *syspropLibrary) { ccProps.Recovery_available = m.properties.Recovery_available ccProps.Vendor_available = m.properties.Vendor_available ccProps.Product_available = m.properties.Product_available + ccProps.Ramdisk_available = m.properties.Ramdisk_available ccProps.Host_supported = m.properties.Host_supported ccProps.Apex_available = m.ApexProperties.Apex_available ccProps.Min_sdk_version = m.properties.Cpp.Min_sdk_version