Incorporate cc_library_headers into mixed builds
Test: go soong tests Test: bp2build generate & sync; mixed build libc; mixed build su (su is an Android.mk target that relies on converted a cc_library_headers) Bug: 181552740 Change-Id: I9efd587970551fd41f642a208f0aa0a80e8694e0
This commit is contained in:
@@ -351,3 +351,13 @@ func PathForBazelOut(ctx PathContext, paths ...string) BazelOutPath {
|
||||
OutputPath: outputPath.withRel(validatedExecRootPath),
|
||||
}
|
||||
}
|
||||
|
||||
// PathsForBazelOut returns a list of paths representing the paths under an output directory
|
||||
// dedicated to Bazel-owned outputs.
|
||||
func PathsForBazelOut(ctx PathContext, paths []string) Paths {
|
||||
outs := make(Paths, 0, len(paths))
|
||||
for _, p := range paths {
|
||||
outs = append(outs, PathForBazelOut(ctx, p))
|
||||
}
|
||||
return outs
|
||||
}
|
||||
|
Reference in New Issue
Block a user