From 4ad377e969cf26a7fd0e9d39872122b17fea41c9 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 15 Sep 2016 11:00:27 +0200 Subject: libsensors: build with -Wall -Werror Change-Id: I511e276aba490813e9e0eef83a64b0828e27412e --- libsensors/Android.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libsensors/Android.mk b/libsensors/Android.mk index 6e7cb93..cc86f42 100644 --- a/libsensors/Android.mk +++ b/libsensors/Android.mk @@ -30,6 +30,8 @@ LOCAL_SRC_FILES := \ LOCAL_C_INCLUDES := \ $(LOCAL_PATH) +LOCAL_CFLAGS := -Wall -Werror + LOCAL_SHARED_LIBRARIES := libutils libcutils liblog libhardware LOCAL_PRELINK_MODULE := false @@ -47,6 +49,8 @@ LOCAL_SRC_FILES := \ geomagneticd.c \ input.c +LOCAL_CFLAGS := -Wall -Werror + LOCAL_SHARED_LIBRARIES := libutils libcutils liblog LOCAL_PRELINK_MODULE := false @@ -65,6 +69,8 @@ LOCAL_SRC_FILES := \ bma250.c \ yas530.c +LOCAL_CFLAGS := -Wall -Werror + LOCAL_SHARED_LIBRARIES := libutils libcutils liblog LOCAL_PRELINK_MODULE := false -- cgit v1.1