Merge "Don't write bogus built targets."

This commit is contained in:
Treehugger Robot
2022-08-02 17:25:58 +00:00
committed by Gerrit Code Review

View File

@@ -15,7 +15,6 @@
package android
import (
"fmt"
"sort"
"strings"
@@ -144,8 +143,6 @@ func buildLicenseMetadata(ctx ModuleContext, licenseMetadataFile WritablePath) {
if len(outputFiles) > 0 {
args = append(args,
JoinWithPrefix(proptools.NinjaAndShellEscapeListIncludingSpaces(outputFiles.Strings()), "-t "))
} else {
args = append(args, fmt.Sprintf("-t //%s:%s", ctx.ModuleDir(), ctx.ModuleName()))
}
// Installed files