androidbp: Improve target conditionals when host_supported

Properties need to be parsed twice to support different conditionals for
target and host modules. Then add 'android' target support that will
just be selected for target modules.

Change-Id: I8970d5a0d132324ac7e2a7fffc2b07e7c0da33c0
This commit is contained in:
Dan Willemsen
2015-06-11 14:05:01 -07:00
parent 57ad08c15d
commit 68fdfccd2f
2 changed files with 35 additions and 19 deletions

View File

@@ -106,6 +106,7 @@ var hostScopedPropertyConditionals = map[string]string{
// TODO: host target?
var targetScopedPropertyConditionals = map[string]string{
"android": "",
"android32": "ifneq($(TARGET_IS_64_BIT), true)",
"not_android32": "ifeq($(TARGET_IS_64_BIT), true)",
"android64": "ifeq($(TARGET_IS_64_BIT), true)",