Merge "Annotate FIXME for b/200678898" am: fda604ab7c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1832335 Change-Id: I73c2f65504a17a0b866ccb498ba1f20fcfd2b6f8
This commit is contained in:
committed by
Automerger Merge Worker
commit
0a72e89916
@@ -934,6 +934,8 @@ func filterArchStruct(field reflect.StructField, prefix string) (bool, reflect.S
|
||||
if len(values) > 0 && values[0] != "path" {
|
||||
panic(fmt.Errorf("unknown tags %q in field %q", values, prefix+field.Name))
|
||||
} else if len(values) == 1 {
|
||||
// FIXME(b/200678898): This assumes that the only tag type when there's
|
||||
// `android:"arch_variant"` is `android` itself and thus clobbers others
|
||||
field.Tag = reflect.StructTag(`android:"` + strings.Join(values, ",") + `"`)
|
||||
} else {
|
||||
field.Tag = ``
|
||||
|
Reference in New Issue
Block a user