summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/sh_binary.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go
index 00794cdbe..4fe6fdda0 100644
--- a/sh/sh_binary.go
+++ b/sh/sh_binary.go
@@ -190,6 +190,15 @@ func (s *ShBinary) OutputFile() android.OutputPath {
return s.outputFilePath
}
+func (s *ShBinary) OutputFiles(tag string) (android.Paths, error) {
+ switch tag {
+ case "":
+ return android.Paths{s.outputFilePath}, nil
+ default:
+ return nil, fmt.Errorf("unsupported module reference tag %q", tag)
+ }
+}
+
func (s *ShBinary) SubDir() string {
return proptools.String(s.properties.Sub_dir)
}