Merge "Handle restricting to device only builds"

This commit is contained in:
Liz Kammer
2022-06-02 20:29:27 +00:00
committed by Gerrit Code Review
11 changed files with 454 additions and 133 deletions

View File

@@ -409,6 +409,11 @@ func (ba BoolAttribute) HasConfigurableValues() bool {
return false
}
// SetValue sets value for the no config axis
func (ba *BoolAttribute) SetValue(value *bool) {
ba.SetSelectValue(NoConfigAxis, "", value)
}
// SetSelectValue sets value for the given axis/config.
func (ba *BoolAttribute) SetSelectValue(axis ConfigurationAxis, config string, value *bool) {
axis.validateConfig(config)