Add NinjaAndShellEscapeIncludingSpaces am: 2a62643266 am: c5a0b4b5a1

Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2132413

Change-Id: I8515242e5734771ba4a2f12cf6daf9bfe0c9f2d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Bob Badour 2022-06-21 20:51:32 +00:00 committed by Automerger Merge Worker
commit e5e190bd21

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