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:
Bob Badour 2022-06-21 21:17:28 +00:00 committed by Automerger Merge Worker
commit ea2ed81f5b

View file

@ -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(`'`, `'\''`)