Merge "Fix bootimg.cmdline to use ShellEscapeIncludingSpaces"

This commit is contained in:
Jooyung Han 2021-03-12 09:10:22 +00:00 committed by Gerrit Code Review
commit d0b3574072

View file

@ -153,7 +153,7 @@ func (b *bootimg) buildBootImage(ctx android.ModuleContext, vendor bool) android
if vendor {
flag = "--vendor_cmdline "
}
cmd.FlagWithArg(flag, "\""+proptools.ShellEscape(cmdline)+"\"")
cmd.FlagWithArg(flag, proptools.ShellEscapeIncludingSpaces(cmdline))
}
headerVersion := proptools.String(b.properties.Header_version)