Add GoStdlib mnemonic for special handling of ''
This mnemonic has '' args, which would become literal empty when combined by strings.Join. To prevent this, add it to the special-handling function. Bug: 284483729 Test: N/A Change-Id: Ibd3c3ebc55284882e7336487319070b9710076d3
This commit is contained in:
parent
5c2b3e2ea6
commit
2d93ebba11
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ func (a *aqueryArtifactHandler) depsetContentHashes(inputDepsetIds []uint32) ([]
|
||||||
// escapes the args received from aquery and creates a command string
|
// escapes the args received from aquery and creates a command string
|
||||||
func commandString(actionEntry *analysis_v2_proto.Action) string {
|
func commandString(actionEntry *analysis_v2_proto.Action) string {
|
||||||
switch actionEntry.Mnemonic {
|
switch actionEntry.Mnemonic {
|
||||||
case "GoCompilePkg":
|
case "GoCompilePkg", "GoStdlib":
|
||||||
argsEscaped := []string{}
|
argsEscaped := []string{}
|
||||||
for _, arg := range actionEntry.Arguments {
|
for _, arg := range actionEntry.Arguments {
|
||||||
if arg == "" {
|
if arg == "" {
|
||||||
|
|
Loading…
Reference in a new issue