Use -Werror in hardware/interfaces/automotive/vehicle/2.0

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I4de457fc522b490d0142b1f21552b993553a5982
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
This commit is contained in:
Chih-Hung Hsieh 2017-11-28 14:09:01 -08:00
parent 8500c095b9
commit d83c721543

View file

@ -91,6 +91,8 @@ generated_sources_dir := $(call local-generated-sources-dir)
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(generated_sources_dir)/proto/$(LOCAL_PATH)/impl/vhal_v2_0/proto
LOCAL_CFLAGS += -Wall -Wextra -Werror
include $(BUILD_STATIC_LIBRARY)