Use -Werror in hardware/interfaces/automotive/vehicle
authorChih-Hung Hsieh <chh@google.com>
Mon, 20 Nov 2017 22:14:27 +0000 (14:14 -0800)
committerChih-hung Hsieh <chh@google.com>
Tue, 28 Nov 2017 17:12:22 +0000 (17:12 +0000)
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6a9233b4a2df7b6403dbabffb75cc4905d3da887
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a

automotive/vehicle/2.0/default/Android.mk
automotive/vehicle/2.1/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
 
index f19263c7d1f5b8a824448d408929aedb4b64a83c..f6efc0e3b87a393dd1c57427eb00522009f4399e 100644 (file)
@@ -25,6 +25,8 @@ LOCAL_MODULE := $(vhal_v2_1)-manager-lib
 LOCAL_SRC_FILES := \
     common/src/Obd2SensorStore.cpp
 
+LOCAL_CFLAGS := -Wall -Werror
+
 LOCAL_C_INCLUDES := \
     $(LOCAL_PATH)/common/include/vhal_v2_1 \
     $(LOCAL_PATH)/../../2.0/default/common/include/vhal_v2_0 \