OSDN Git Service

Add LOCAL_MODULE_HOST_OS
authorDan Willemsen <dwillemsen@google.com>
Fri, 14 Aug 2015 19:59:06 +0000 (12:59 -0700)
committerDan Willemsen <dwillemsen@google.com>
Thu, 3 Sep 2015 23:40:51 +0000 (16:40 -0700)
commit859ac3406453b157b043e19f49018022346ffb6e
tree740f892322a1587ebb7085df22116280c40279d9
parentc6c9c61d05ffcc41239baaa1f3011b17e8518b65
Add LOCAL_MODULE_HOST_OS

Instead of wrapping a host module definition in 'ifeq($(HOST_OS),...)'
in the Android.mk files, define which hosts are supported using
LOCAL_MODULE_HOST_OS.

A blank LOCAL_MODULE_HOST_OS means that linux and darwin are supported.
A non-empty LOCAL_MODULE_HOST_OS lists the supported HOST_OSs.

Change-Id: I1e342d1908cfa00aef2c39c145b4f5f81c373bc6
core/clear_vars.mk
core/module_arch_supported.mk
libs/host/Android.mk
tools/zipalign/Android.mk