Add tests for android:replace_instead_of_append
Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: Ideb739b3f1a6a5854453db7d51bdee73a3979fd4
This commit is contained in:
@@ -980,7 +980,7 @@ func filterArchStruct(field reflect.StructField, prefix string) (bool, reflect.S
|
||||
panic(fmt.Errorf("unexpected tag format %q", field.Tag))
|
||||
}
|
||||
// these tags don't need to be present in the runtime generated struct type.
|
||||
values = RemoveListFromList(values, []string{"arch_variant", "variant_prepend", "path"})
|
||||
values = RemoveListFromList(values, []string{"arch_variant", "variant_prepend", "path", "replace_instead_of_append"})
|
||||
if len(values) > 0 {
|
||||
panic(fmt.Errorf("unknown tags %q in field %q", values, prefix+field.Name))
|
||||
}
|
||||
|
Reference in New Issue
Block a user