Revert "Use OutputFilesProvider on buildinfo_prop and some android test modules"

This reverts commit 89e4ff60d361cc7e0542f5da7a31c64f90b6d3b8.

Reason for revert: build breakage on aosp-main/mainline_modules_sdks-trunk_staging-userdebug

Change-Id: I5ddac59f66a0e7a96fab39647d406499e3875f6a
diff --git a/android/buildinfo_prop.go b/android/buildinfo_prop.go
index 05ae18b..defbff0 100644
--- a/android/buildinfo_prop.go
+++ b/android/buildinfo_prop.go
@@ -15,6 +15,8 @@
 package android
 
 import (
+	"fmt"
+
 	"github.com/google/blueprint/proptools"
 )
 
@@ -39,10 +41,20 @@
 	installPath    InstallPath
 }
 
+var _ OutputFileProducer = (*buildinfoPropModule)(nil)
+
 func (p *buildinfoPropModule) installable() bool {
 	return proptools.BoolDefault(p.properties.Installable, true)
 }
 
+// OutputFileProducer
+func (p *buildinfoPropModule) OutputFiles(tag string) (Paths, error) {
+	if tag != "" {
+		return nil, fmt.Errorf("unsupported tag %q", tag)
+	}
+	return Paths{p.outputFilePath}, nil
+}
+
 func shouldAddBuildThumbprint(config Config) bool {
 	knownOemProperties := []string{
 		"ro.product.brand",
@@ -103,8 +115,6 @@
 
 	p.installPath = PathForModuleInstall(ctx)
 	ctx.InstallFile(p.installPath, p.Name(), p.outputFilePath)
-
-	ctx.SetOutputFiles(Paths{p.outputFilePath}, "")
 }
 
 func (p *buildinfoPropModule) AndroidMkEntries() []AndroidMkEntries {