Merge "Strip device name from gen_notice license files"

This commit is contained in:
Treehugger Robot
2022-12-15 15:21:34 +00:00
committed by Gerrit Code Review

View File

@@ -16,6 +16,7 @@ package android
import (
"fmt"
"path/filepath"
"strings"
"github.com/google/blueprint/proptools"
@@ -73,6 +74,7 @@ func (s *genNoticeBuildRules) GenerateBuildActions(ctx SingletonContext) {
out(ctx, gm.output, ctx.ModuleName(gm),
proptools.StringDefault(gm.properties.ArtifactName, defaultName),
[]string{
filepath.Join(ctx.Config().OutDir(), "target", "product", ctx.Config().DeviceName()) + "/",
ctx.Config().OutDir() + "/",
ctx.Config().SoongOutDir() + "/",
}, modules...)