diff options
author | 2025-01-17 20:04:46 +0000 | |
---|---|---|
committer | 2025-01-17 20:05:45 +0000 | |
commit | ddccb2a4cbf64ea3b0a4a34073ea3c7a6f926aec (patch) | |
tree | 5e99735767010515f576aa9d369295237206fac4 /sdk/update.go | |
parent | 7eebf8b34c4a40fe1f374b7db290ac62ca872c10 (diff) |
Convert licensesPropertyFlattener to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: Iff8fd64e3938cde8950d8144f03a5fbde8bdfe6e
Diffstat (limited to 'sdk/update.go')
-rw-r--r-- | sdk/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk/update.go b/sdk/update.go index 5a899a234..00352cb1d 100644 --- a/sdk/update.go +++ b/sdk/update.go @@ -1145,7 +1145,7 @@ func (s *snapshotBuilder) AddPrebuiltModule(member android.SdkMember, moduleType // The licenses are the same for all variants. mctx := s.ctx - licenseInfo, _ := android.OtherModuleProvider(mctx, variant, android.LicenseInfoProvider) + licenseInfo, _ := android.OtherModuleProvider(mctx, variant, android.LicensesInfoProvider) if len(licenseInfo.Licenses) > 0 { m.AddPropertyWithTag("licenses", licenseInfo.Licenses, s.OptionalSdkMemberReferencePropertyTag()) } |