OSDN Git Service

Update Security String to 2016-09-06 to platform and CTS for September Security ...
[android-x86/build.git] / tools / zipalign / Android.mk
1
2 # Copyright 2008 The Android Open Source Project
3 #
4 # Zip alignment tool
5 #
6
7 LOCAL_PATH:= $(call my-dir)
8 include $(CLEAR_VARS)
9
10 LOCAL_SRC_FILES := \
11         ZipAlign.cpp \
12         ZipEntry.cpp \
13         ZipFile.cpp
14
15 LOCAL_C_INCLUDES += external/zlib \
16         external/zopfli/src
17
18 LOCAL_STATIC_LIBRARIES := \
19         libandroidfw \
20         libutils \
21         libcutils \
22         liblog \
23         libzopfli
24
25 LOCAL_LDLIBS_linux += -lrt
26
27 LOCAL_STATIC_LIBRARIES_windows += libz
28 LOCAL_LDLIBS_linux += -lz
29 LOCAL_LDLIBS_darwin += -lz
30
31 ifneq ($(strip $(BUILD_HOST_static)),)
32 LOCAL_LDLIBS += -lpthread
33 endif # BUILD_HOST_static
34
35 LOCAL_MODULE := zipalign
36 LOCAL_MODULE_HOST_OS := darwin linux windows
37
38 include $(BUILD_HOST_EXECUTABLE)