1 LOG_TO_ANDROID_LOGCAT := true 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= tinyxml2.cpp 7 8 LOCAL_MODULE:=libtinyxml2 9 LOCAL_MODULE_TAGS := optional 10 11 ifeq ($(LOG_TO_ANDROID_LOGCAT),true) 12 LOCAL_CFLAGS+= -DDEBUG -DANDROID_NDK 13 LOCAL_SHARED_LIBRARIES+= libcutils 14 endif 15 16 include $(BUILD_STATIC_LIBRARY) 17 18