Allow an arbitrary tag to be associated with a bp property

This is preparation for enhancing the versioning tranformer to support
applying per property transformations. Specifically, to allow
properties to reference other libraries within the sdk.

Bug: 142940300
Test: m nothing
Change-Id: I99cdff4b407763ed395ff358d8110a63c6cf5589
This commit is contained in:
Paul Duffin
2020-01-15 14:23:52 +00:00
parent e6c0d845fd
commit 5b511a200e
3 changed files with 49 additions and 22 deletions

View File

@@ -314,7 +314,7 @@ func generateBpContents(contents *generatedContents, bpFile *bpFile) {
func outputPropertySet(contents *generatedContents, set *bpPropertySet) {
contents.Indent()
for _, name := range set.order {
value := set.properties[name]
value := set.getValue(name)
reflectedValue := reflect.ValueOf(value)
t := reflectedValue.Type()