Supress warnings in external/tinyxml

This library usage is getting removed. Suppress the existing
warning until the killing is complete.

Bug: 30215664
Test: make libtinyxml compiles without warnings
Change-Id: I0b1cefcb4a08e8a73147695f99591a99c23d5205
diff --git a/Android.mk b/Android.mk
index 7a91be0..92fdf5b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -11,6 +11,12 @@
 	tinyxmlerror.cpp \
 	tinystr.cpp
 
+commonFlags := \
+	-Wno-undefined-bool-conversion \
+	-Wno-missing-braces \
+        -Wno-logical-op-parentheses \
+        -Werror
+
 # For the host
 # =====================================================
 LOCAL_PATH:= $(call my-dir)
@@ -21,7 +27,7 @@
 
 LOCAL_MODULE:= libtinyxml
 
-LOCAL_CFLAGS+= $(TOOL_CFLAGS)
+LOCAL_CFLAGS+= $(TOOL_CFLAGS) $(commonFlags)
 LOCAL_LDFLAGS:= $(TOOL_LDFLAGS) -lstdc++ -lc
 
 LOCAL_MULTILIB := both
@@ -38,6 +44,8 @@
 
 LOCAL_MODULE:= libtinyxml
 
+LOCAL_CFLAGS+= $(commonFlags)
+
 include $(BUILD_STATIC_LIBRARY)
 
 
@@ -50,6 +58,8 @@
 
 LOCAL_MODULE:= libtinyxml
 
+LOCAL_CFLAGS+= $(commonFlags)
+
 LOCAL_SHARED_LIBRARIES := \
     libc \
     libstdc++