Add NinjaAndShellEscapeIncludingSpaces am: 2a62643266
am: c5a0b4b5a1
am: e5e190bd21
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2132413 Change-Id: Iff31aab61bb28870b8d3bcdd724d23cf4d188a86 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ea2ed81f5b
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