Android.mk revision 3344b2e9b27466111524dfcfb64d7258153e0cb7
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	ZipEntry.cpp \
13	ZipFile.cpp
14
15LOCAL_C_INCLUDES += external/zlib
16
17LOCAL_STATIC_LIBRARIES := \
18	libutils \
19	libcutils
20
21LOCAL_LDLIBS := -lz
22
23ifeq ($(HOST_OS),linux)
24LOCAL_LDLIBS += -lrt
25endif
26
27# dunno if we need this, but some of the other tools include it
28ifeq ($(HOST_OS),windows)
29ifeq ($(strip $(USE_CYGWIN),),)
30LOCAL_LDLIBS += -lws2_32
31endif
32endif
33
34LOCAL_MODULE := zipalign
35
36include $(BUILD_HOST_EXECUTABLE)
37
38