blob: e23b699c60bd49593af4972035b7de951cc9f6e7 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001#
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