Merge "Fix discordance between marshall/unmarshall for ArchType" am: 53932eca91

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1675471

Change-Id: I821f41f220915feed677ebc6baec864b2bcbbd22
This commit is contained in:
Treehugger Robot 2021-04-16 03:54:19 +00:00 committed by Automerger Merge Worker
commit 55a7beb213
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ import (
"fmt"
"reflect"
"runtime"
"strconv"
"strings"
"github.com/google/blueprint"
@ -176,7 +175,7 @@ func ArchTypeList() []ArchType {
// MarshalText allows an ArchType to be serialized through any encoder that supports
// encoding.TextMarshaler.
func (a ArchType) MarshalText() ([]byte, error) {
return []byte(strconv.Quote(a.String())), nil
return []byte(a.String()), nil
}
var _ encoding.TextMarshaler = ArchType{}