Add ramdisk_available to sysprop_library
Bug: 187196593 Test: build Change-Id: Ib8d92904a9004ccbc18634a97f9d75c2093ac2ae
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user