summaryrefslogtreecommitdiff
path: root/sh/sh_binary.go
diff options
context:
space:
mode:
author Aditya Choudhary <caditya@google.com> 2023-11-15 10:30:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-11-15 10:30:50 +0000
commitd97bf3646914c20e4e7602c7f87792e89ac29ce3 (patch)
treee9c1806faa62580caa58c6592ac6dd0179ef2460 /sh/sh_binary.go
parent5876a78543c010c39cb5cac291b607b06a72d44b (diff)
parent9b59352a82b099daf032fced3e3997aab652f3d2 (diff)
Merge "Add proto for Test ownership metadata." into main
Diffstat (limited to 'sh/sh_binary.go')
-rw-r--r--sh/sh_binary.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go
index 2e869f447..1bebc60be 100644
--- a/sh/sh_binary.go
+++ b/sh/sh_binary.go
@@ -20,6 +20,7 @@ import (
"sort"
"strings"
+ "android/soong/testing"
"github.com/google/blueprint"
"github.com/google/blueprint/proptools"
@@ -452,6 +453,7 @@ func (s *ShTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
ctx.PropertyErrorf(property, "%q of type %q is not supported", dep.Name(), ctx.OtherModuleType(dep))
}
})
+ ctx.SetProvider(testing.TestModuleProviderKey, testing.TestModuleProviderData{})
}
func (s *ShTest) InstallInData() bool {