Convert NewProvider/NewMutatorProvider to generic providers API
Convert all of the callers to NewProvider and NewMutatorProvider to use a generic type parameter instead of an example object. Bug: 316410648 Test: builds Change-Id: Ic9cdafc87336e26730d3fd596df05de0e7267542
This commit is contained in:
@@ -98,7 +98,7 @@ func (i DeapexerInfo) PrebuiltExportPath(apexRelativePath string) WritablePath {
|
||||
|
||||
// Provider that can be used from within the `GenerateAndroidBuildActions` of a module that depends
|
||||
// on a `deapexer` module to retrieve its `DeapexerInfo`.
|
||||
var DeapexerProvider = blueprint.NewProvider(DeapexerInfo{})
|
||||
var DeapexerProvider = blueprint.NewProvider[DeapexerInfo]()
|
||||
|
||||
// NewDeapexerInfo creates and initializes a DeapexerInfo that is suitable
|
||||
// for use with a prebuilt_apex module.
|
||||
|
Reference in New Issue
Block a user