Use -Werror in hardware/interfaces/automotive/vehicle
[android/platform-hardware-interfaces.git] / automotive / vehicle / 2.0 / default / Android.mk
index 72e1364fc69718daf3c0423144d8b751aa0af603..ebc565dc8fce377763e7b58c29079a740701603f 100644 (file)
@@ -28,6 +28,8 @@ LOCAL_SRC_FILES := \
     common/src/VehiclePropertyStore.cpp \
     common/src/VehicleUtils.cpp \
 
+LOCAL_CFLAGS := -Wall -Werror
+
 LOCAL_C_INCLUDES := \
     $(LOCAL_PATH)/common/include/vhal_v2_0
 
@@ -53,6 +55,8 @@ LOCAL_SRC_FILES := \
     common/src/VehiclePropertyStore.cpp \
     common/src/VehicleUtils.cpp \
 
+LOCAL_CFLAGS := -Wall -Werror
+
 LOCAL_C_INCLUDES := \
     $(LOCAL_PATH)/common/include/vhal_v2_0