Use -Werror in hardware/interfaces/automotive/vehicle

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6a9233b4a2df7b6403dbabffb75cc4905d3da887
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
This commit is contained in:
Chih-Hung Hsieh
2017-11-20 14:14:27 -08:00
committed by Chih-hung Hsieh
parent 6a5daf8cac
commit 75714dff3a
2 changed files with 6 additions and 0 deletions

View 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

View 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 \