Fix escaping for package_name

Bug: 235333302

Test: m droid dist
Change-Id: I6e52b960be4171a9510edd4f2857f13cc3f54bc0
This commit is contained in:
Bob Badour 2022-06-21 11:12:01 -07:00
parent 061d352801
commit a10d5a2746

View file

@ -105,7 +105,7 @@ func buildLicenseMetadata(ctx ModuleContext, licenseMetadataFile WritablePath) {
if p := base.commonProperties.Effective_package_name; p != nil {
args = append(args,
`-p "`+proptools.NinjaAndShellEscape(*p)+`"`)
`-p `+proptools.NinjaAndShellEscapeIncludingSpaces(*p))
}
args = append(args,