]> git.saurik.com Git - android/aapt.git/blame - Android.mk
Merge from donut
[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 \
20 SourcePos.cpp
21
22LOCAL_CFLAGS += -Wno-format-y2k
23
24LOCAL_C_INCLUDES += external/expat/lib
25LOCAL_C_INCLUDES += external/libpng
26LOCAL_C_INCLUDES += external/zlib
27LOCAL_C_INCLUDES += build/libs/host/include
28
29#LOCAL_WHOLE_STATIC_LIBRARIES :=
30LOCAL_STATIC_LIBRARIES := \
31 libhost \
32 libutils \
33 libcutils \
34 libexpat \
35 libpng
36
37LOCAL_LDLIBS := -lz
38
39ifeq ($(HOST_OS),linux)
40LOCAL_LDLIBS += -lrt
41endif
42
43ifeq ($(HOST_OS),windows)
44ifeq ($(strip $(USE_CYGWIN),),)
45LOCAL_LDLIBS += -lws2_32
46endif
47endif
48
49LOCAL_MODULE := aapt
50
51include $(BUILD_HOST_EXECUTABLE)
52