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:
commit
55a7beb213
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue