Propagate vendor_available property through to sdk snapshot

Test: m nothing
Change-Id: I68dcba111d290ae8a84c2bc023e1a4e0eaa43408
This commit is contained in:
Paul Duffin
2020-08-13 19:45:31 +01:00
parent 3f98d148df
commit d1edbd4eed
2 changed files with 7 additions and 0 deletions

View File

@@ -119,6 +119,10 @@ func (mt *librarySdkMemberType) AddPrebuiltModule(ctx android.SdkMemberContext,
ccModule := member.Variants()[0].(*Module)
if proptools.Bool(ccModule.VendorProperties.Vendor_available) {
pbm.AddProperty("vendor_available", true)
}
sdkVersion := ccModule.SdkVersion()
if sdkVersion != "" {
pbm.AddProperty("sdk_version", sdkVersion)