Use Module.GetProperties() instead of ModuleBase.generalProperties

ModuleBase.generalProperties served the pupose of being a subset
of ModuleBase.customizableProperties. But now with the removal of
the latter, the former is simply a redirection to Module.GetProperties()

Bug: 206961391
Test: m nothing and diff the ninja files
Change-Id: I6dd8b7ba74eb5e7ffb61029b0f9129eec2ccfdaf
This commit is contained in:
Usta
2022-01-05 23:42:33 -05:00
committed by Usta Shrestha
parent e508f6a50b
commit 851a3271ce
10 changed files with 13 additions and 28 deletions

View File

@@ -33,7 +33,7 @@ func registerPathDepsMutator(ctx RegisterMutatorsContext) {
// The pathDepsMutator automatically adds dependencies on any module that is listed with the
// ":module" module reference syntax in a property that is tagged with `android:"path"`.
func pathDepsMutator(ctx BottomUpMutatorContext) {
props := ctx.Module().base().generalProperties
props := ctx.Module().base().GetProperties()
addPathDepsForProps(ctx, props)
}