Android.mk revision 88b607994a148f4af5bffee163e39ce8296750c6
1# 2# Copyright 2008 The Android Open Source Project 3# 4# Zip alignment tool 5# 6 7LOCAL_PATH:= $(call my-dir) 8include $(CLEAR_VARS) 9 10LOCAL_SRC_FILES := \ 11 ZipAlign.cpp 12 13LOCAL_C_INCLUDES += external/zlib 14 15LOCAL_STATIC_LIBRARIES := \ 16 libutils \ 17 libcutils 18 19LOCAL_LDLIBS := -lz 20 21ifeq ($(HOST_OS),linux) 22LOCAL_LDLIBS += -lrt 23endif 24 25# dunno if we need this, but some of the other tools include it 26ifeq ($(HOST_OS),windows) 27ifeq ($(strip $(USE_CYGWIN),),) 28LOCAL_LDLIBS += -lws2_32 29endif 30endif 31 32LOCAL_MODULE := zipalign 33 34include $(BUILD_HOST_EXECUTABLE) 35 36