aboutsummaryrefslogtreecommitdiffstats
path: root/tools/zipalign
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-08-14 12:59:06 -0700
committerDan Willemsen <dwillemsen@google.com>2015-09-03 16:40:51 -0700
commit859ac3406453b157b043e19f49018022346ffb6e (patch)
tree740f892322a1587ebb7085df22116280c40279d9 /tools/zipalign
parentc6c9c61d05ffcc41239baaa1f3011b17e8518b65 (diff)
downloadplatform_build-859ac3406453b157b043e19f49018022346ffb6e.tar.gz
platform_build-859ac3406453b157b043e19f49018022346ffb6e.tar.bz2
platform_build-859ac3406453b157b043e19f49018022346ffb6e.zip
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
Diffstat (limited to 'tools/zipalign')
-rw-r--r--tools/zipalign/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/zipalign/Android.mk b/tools/zipalign/Android.mk
index cba6db3829..8c0240a27c 100644
--- a/tools/zipalign/Android.mk
+++ b/tools/zipalign/Android.mk
@@ -33,5 +33,6 @@ LOCAL_LDLIBS += -lpthread
endif # BUILD_HOST_static
LOCAL_MODULE := zipalign
+LOCAL_MODULE_HOST_OS := darwin linux windows
include $(BUILD_HOST_EXECUTABLE)