Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03d56c77 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Add StringsRelativeToTop"

parents 544c368d 0aafcbfd
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1051,3 +1051,9 @@ func StringPathsRelativeToTop(soongOutDir string, paths []string) []string {
func StringRelativeToTop(config Config, command string) string {
	return normalizeStringRelativeToTop(config, command)
}

// StringsRelativeToTop will return a new slice such that each item in the new slice is the result
// of calling StringRelativeToTop on the corresponding item in the input slice.
func StringsRelativeToTop(config Config, command []string) []string {
	return normalizeStringArrayRelativeToTop(config, command)
}