]> git.saurik.com Git - android/aapt.git/blame - Android.mk
break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of inet_address...
[android/aapt.git] / Android.mk
CommitLineData
dadd9c1f
TAOSP
1#
2# Copyright 2006 The Android Open Source Project
3#
4# Android Asset Packaging Tool
5#
6
7LOCAL_PATH:= $(call my-dir)
8include $(CLEAR_VARS)
9
10LOCAL_SRC_FILES := \
11 AaptAssets.cpp \
12 Command.cpp \
13 Main.cpp \
14 Package.cpp \
15 StringPool.cpp \
16 XMLNode.cpp \
17 ResourceTable.cpp \
18 Images.cpp \
19 Resource.cpp \
1f170917
MA
20 SourcePos.cpp \
21 ZipEntry.cpp \
22 ZipFile.cpp
23
dadd9c1f
TAOSP
24
25LOCAL_CFLAGS += -Wno-format-y2k
26
27LOCAL_C_INCLUDES += external/expat/lib
28LOCAL_C_INCLUDES += external/libpng
29LOCAL_C_INCLUDES += external/zlib
30LOCAL_C_INCLUDES += build/libs/host/include
31
32#LOCAL_WHOLE_STATIC_LIBRARIES :=
33LOCAL_STATIC_LIBRARIES := \
34 libhost \
35 libutils \
36 libcutils \
37 libexpat \
38 libpng
39
40LOCAL_LDLIBS := -lz
41
42ifeq ($(HOST_OS),linux)
43LOCAL_LDLIBS += -lrt
44endif
45
46ifeq ($(HOST_OS),windows)
47ifeq ($(strip $(USE_CYGWIN),),)
48LOCAL_LDLIBS += -lws2_32
49endif
50endif
51
52LOCAL_MODULE := aapt
53
54include $(BUILD_HOST_EXECUTABLE)
55