summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk33
1 files changed, 2 insertions, 31 deletions
diff --git a/Android.mk b/Android.mk
index 6a93c0d..b3967a5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,6 +5,8 @@
# Add -DTIXML_USE_STL to CFLAGS to use STL.
#
+LOCAL_PATH := $(call my-dir)
+
commonSources:= \
tinyxml.cpp \
tinyxmlparser.cpp \
@@ -17,37 +19,6 @@ commonFlags := \
-Wno-logical-op-parentheses \
-Werror
-# For the host
-# =====================================================
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES:= \
- $(commonSources)
-
-LOCAL_MODULE:= libtinyxml
-
-LOCAL_CFLAGS+= $(TOOL_CFLAGS) $(commonFlags)
-LOCAL_LDFLAGS:= $(TOOL_LDFLAGS) -lstdc++ -lc
-
-LOCAL_MULTILIB := both
-
-include $(BUILD_HOST_STATIC_LIBRARY)
-
-
-# For the device (static)
-# =====================================================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES:= \
- $(commonSources)
-
-LOCAL_MODULE:= libtinyxml
-
-LOCAL_CFLAGS+= $(commonFlags)
-
-include $(BUILD_STATIC_LIBRARY)
-
# For the device
# =====================================================