summaryrefslogtreecommitdiffstats
path: root/xmlserializer
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer')
-rw-r--r--xmlserializer/Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmlserializer/Android.mk b/xmlserializer/Android.mk
index 799bf1c..7fdaf71 100644
--- a/xmlserializer/Android.mk
+++ b/xmlserializer/Android.mk
@@ -19,6 +19,12 @@ common_module := libxmlserializer
common_module_tags := optional
+# Do not use the '-Werror' flag because of a compilation issue in libxml
+common_cflags := \
+ -Wall \
+ -Wextra \
+ -Wno-unused-parameter
+
common_c_includes := \
$(call include-path-for, libxml2) \
$(call include-path-for, webcore-icu) \
@@ -38,6 +44,8 @@ LOCAL_SRC_FILES := $(common_src_files)
LOCAL_MODULE := $(common_module)
LOCAL_MODULE_TAGS := $(common_module_tags)
+LOCAL_CFLAGS := $(common_cflags)
+
LOCAL_C_INCLUDES += \
$(common_c_includes) \
$(call include-path-for, stlport) \
@@ -60,6 +68,8 @@ LOCAL_SRC_FILES := $(common_src_files)
LOCAL_MODULE := $(common_module)_host
LOCAL_MODULE_TAGS := $(common_module_tags)
+LOCAL_CFLAGS := $(common_cflags)
+
LOCAL_C_INCLUDES += \
$(common_c_includes)