diff options
author | 2023-12-12 16:39:03 -0800 | |
---|---|---|
committer | 2023-12-14 16:12:20 -0800 | |
commit | bc7d76cca2a9eead34b45bcdf333eecdb4152879 (patch) | |
tree | d4cf3619f6c9537f2f40058342e551353f8da61e /android/deapexer.go | |
parent | 3c0a83d19f56061bc9f621372cc7a5245d1204f6 (diff) |
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
Diffstat (limited to 'android/deapexer.go')
-rw-r--r-- | android/deapexer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/deapexer.go b/android/deapexer.go index 6a93f6087..a674b424e 100644 --- a/android/deapexer.go +++ b/android/deapexer.go @@ -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. |