summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-09-09 17:06:28 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-09-09 17:06:28 +0000
commit7a1184d68cdd33245efc9875b237fcef2c9d2c54 (patch)
tree638b917642411b9358afbc619c993e31143cadd1
parent9c03b0d3820d7496c2ea62efade5cdf1853c245b (diff)
parent119ea69917f3e06692de2a4430c291487eb74eba (diff)
downloadtinyxml-pie-qpr1-s1-release.tar.gz
am: 119ea69917 Change-Id: I4ea53aef1f9d94a88c31a841f41122da199cfdc8
-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
# =====================================================