Merge "Strip device name from gen_notice license files" am: d42cb96940

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2356723

Change-Id: Id0b62ca5e43d49bd8b660a10d3b17df06ecfd564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-12-15 15:37:31 +00:00
committed by Automerger Merge Worker

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...)