Add NinjaAndShellEscapeIncludingSpaces
Bug: 235333302 Test: m droid dist Change-Id: Ic52fbdb64042148d851403b4afd2dd5392282f77
This commit is contained in:
parent
eb641de659
commit
2a62643266
1 changed files with 4 additions and 0 deletions
|
@ -122,4 +122,8 @@ func NinjaAndShellEscape(s string) string {
|
|||
return ShellEscape(NinjaEscape(s))
|
||||
}
|
||||
|
||||
func NinjaAndShellEscapeIncludingSpaces(s string) string {
|
||||
return ShellEscapeIncludingSpaces(NinjaEscape(s))
|
||||
}
|
||||
|
||||
var singleQuoteReplacer = strings.NewReplacer(`'`, `'\''`)
|
||||
|
|
Loading…
Reference in a new issue