Support the 'host' conditional in androidbp
Change-Id: I01eaa1ad2e05aaf8cbf00286d7272d0f45bb18aa
This commit is contained in:
@@ -271,7 +271,7 @@ func (w *androidMkWriter) parsePropsAndWriteModule(module *Module) {
|
||||
} else if "target" == prop.Name.Name {
|
||||
props := w.lookupMap(prop.Value)
|
||||
standardProps = append(standardProps, translateTargetConditionals(props, disabledBuilds, module.isHostRule)...)
|
||||
} else if "host_supported" == prop.Name.Name {
|
||||
} else if _, ok := ignoredProperties[prop.Name.Name]; ok {
|
||||
} else {
|
||||
standardProps = append(standardProps, fmt.Sprintf("# ERROR: Unsupported property %s", prop.Name.Name))
|
||||
}
|
||||
|
Reference in New Issue
Block a user