diff options
Diffstat (limited to 'testing/test_spec.go')
-rw-r--r-- | testing/test_spec.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/test_spec.go b/testing/test_spec.go index 58d9c2345..2a05456d5 100644 --- a/testing/test_spec.go +++ b/testing/test_spec.go @@ -20,8 +20,9 @@ import ( "android/soong/android" "android/soong/testing/test_spec_proto" - "github.com/google/blueprint" "google.golang.org/protobuf/proto" + + "github.com/google/blueprint" ) // ErrTestModuleDataNotFound is the error message for missing test module provider data. @@ -81,12 +82,12 @@ type TestSpecProviderData struct { IntermediatePath android.WritablePath } -var TestSpecProviderKey = blueprint.NewProvider(TestSpecProviderData{}) +var TestSpecProviderKey = blueprint.NewProvider[TestSpecProviderData]() type TestModuleProviderData struct { } -var TestModuleProviderKey = blueprint.NewProvider(TestModuleProviderData{}) +var TestModuleProviderKey = blueprint.NewProvider[TestModuleProviderData]() func (module *TestSpecModule) GenerateAndroidBuildActions(ctx android.ModuleContext) { for _, m := range ctx.GetDirectDepsWithTag(testsDepTag) { |