Convert SetProvider to generic providers API

Convert all of the callers of SetProvider to use the type-safe
android.SetProvider API.

Bug: 316410648
Test: builds
Change-Id: If58f4b5355264ddab2045bc3591a4eac19cd58fc
This commit is contained in:
Colin Cross
2023-12-13 15:19:49 -08:00
parent bc7d76cca2
commit 402130276c
42 changed files with 80 additions and 80 deletions

View File

@@ -132,7 +132,7 @@ func (module *CodeMetadataModule) GenerateAndroidBuildActions(ctx android.Module
)
android.WriteFileRule(ctx, intermediatePath, string(protoData))
ctx.SetProvider(
android.SetProvider(ctx,
CodeMetadataProviderKey,
CodeMetadataProviderData{IntermediatePath: intermediatePath},
)