]> git.saurik.com Git - android/aapt.git/blame - Android.mk
resolved conflicts for merge of bd6abed3 to gingerbread-plus-aosp
[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
24b51177
JO
7# This tool is prebuilt if we're doing an app-only build.
8ifeq ($(TARGET_BUILD_APPS),)
9
dadd9c1f
TAOSP
10LOCAL_PATH:= $(call my-dir)
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := \
14 AaptAssets.cpp \
15 Command.cpp \
16 Main.cpp \
17 Package.cpp \
18 StringPool.cpp \
19 XMLNode.cpp \
20 ResourceTable.cpp \
21 Images.cpp \
22 Resource.cpp \
1f170917
MA
23 SourcePos.cpp \
24 ZipEntry.cpp \
25 ZipFile.cpp
26
dadd9c1f
TAOSP
27
28LOCAL_CFLAGS += -Wno-format-y2k
29
30LOCAL_C_INCLUDES += external/expat/lib
31LOCAL_C_INCLUDES += external/libpng
32LOCAL_C_INCLUDES += external/zlib
33LOCAL_C_INCLUDES += build/libs/host/include
34
35#LOCAL_WHOLE_STATIC_LIBRARIES :=
36LOCAL_STATIC_LIBRARIES := \
37 libhost \
38 libutils \
39 libcutils \
40 libexpat \
41 libpng
42
dadd9c1f 43ifeq ($(HOST_OS),linux)
ca72a28f 44LOCAL_LDLIBS += -lrt -lpthread
dadd9c1f
TAOSP
45endif
46
283c2c49
R
47# Statically link libz for MinGW (Win SDK under Linux),
48# and dynamically link for all others.
49ifneq ($(strip $(USE_MINGW)),)
50 LOCAL_STATIC_LIBRARIES += libz
51else
52 LOCAL_LDLIBS += -lz
dadd9c1f
TAOSP
53endif
54
55LOCAL_MODULE := aapt
56
57include $(BUILD_HOST_EXECUTABLE)
58
24b51177 59endif # TARGET_BUILD_APPS