The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2006 The Android Open Source Project |
| 3 | # |
| 4 | # Android Asset Packaging Tool |
| 5 | # |
| 6 | |
| 7 | LOCAL_PATH:= $(call my-dir) |
| 8 | include $(CLEAR_VARS) |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
| 11 | file_utils.cpp \ |
| 12 | localize.cpp \ |
| 13 | merge_res_and_xliff.cpp \ |
| 14 | res_check.cpp \ |
| 15 | xmb.cpp \ |
| 16 | Configuration.cpp \ |
| 17 | Perforce.cpp \ |
| 18 | SourcePos.cpp \ |
| 19 | Values.cpp \ |
| 20 | ValuesFile.cpp \ |
| 21 | XLIFFFile.cpp \ |
| 22 | XMLHandler.cpp |
| 23 | |
| 24 | LOCAL_C_INCLUDES := \ |
| 25 | external/expat/lib \ |
| 26 | build/libs/host/include |
| 27 | |
| 28 | LOCAL_CFLAGS += -g -O0 |
| 29 | |
| 30 | LOCAL_STATIC_LIBRARIES := \ |
| 31 | libexpat \ |
| 32 | libhost \ |
| 33 | libutils \ |
| 34 | libcutils |
| 35 | |
| 36 | ifeq ($(HOST_OS),linux) |
Iliyan Malchev | 64ef6b4 | 2011-10-19 22:35:56 -0700 | [diff] [blame] | 37 | LOCAL_LDLIBS += -lrt -ldl -lpthread |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | endif |
| 39 | |
| 40 | |
| 41 | LOCAL_MODULE := localize |
| 42 | |
| 43 | ifeq (a,a) |
| 44 | LOCAL_CFLAGS += -DLOCALIZE_WITH_TESTS |
| 45 | LOCAL_SRC_FILES += \ |
| 46 | test.cpp \ |
| 47 | localize_test.cpp \ |
| 48 | merge_res_and_xliff_test.cpp \ |
| 49 | Perforce_test.cpp \ |
| 50 | ValuesFile_test.cpp \ |
| 51 | XLIFFFile_test.cpp \ |
| 52 | XMLHandler_test.cpp |
| 53 | endif |
| 54 | |
| 55 | include $(BUILD_HOST_EXECUTABLE) |