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