Support the 'host' conditional in androidbp

Change-Id: I01eaa1ad2e05aaf8cbf00286d7272d0f45bb18aa
This commit is contained in:
Dan Willemsen
2015-06-24 15:50:07 -07:00
parent 3a4045d3b1
commit 0a544695e9
2 changed files with 6 additions and 1 deletions

View File

@@ -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))
}