Create build settings for all product config variables

Bug: 269577299
Test: Presubmits
Change-Id: Id8b7d65d657fa20ad8591e58d5173445b0e4f4df
This commit is contained in:
Cole Faust
2023-07-24 15:17:03 -07:00
parent 9081d142cb
commit f055db60d4
4 changed files with 194 additions and 35 deletions

View File

@@ -34,6 +34,9 @@ func UnmarshalReflect(value starlark.Value, ty reflect.Type) (reflect.Value, err
return reflect.ValueOf(value), nil
}
zero := reflect.Zero(ty)
if value == nil {
panic("nil value")
}
var result reflect.Value
if ty.Kind() == reflect.Interface {
var err error