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 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 24LOCAL_C_INCLUDES := \ 25 external/expat/lib \ 26 build/libs/host/include 27 28LOCAL_CFLAGS += -g -O0 29 30LOCAL_STATIC_LIBRARIES := \ 31 libexpat \ 32 libhost \ 33 libutils \ 34 libcutils 35 36ifeq ($(HOST_OS),linux) 37LOCAL_LDLIBS += -lrt -lpthread 38endif 39 40 41LOCAL_MODULE := localize 42 43ifeq (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 53endif 54 55include $(BUILD_HOST_EXECUTABLE) 56