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

automotive/vehicle/2.0/default/Android.mk

index ebc565dc8fce377763e7b58c29079a740701603f..141cda614ef7bf5908f1e6b81d5e4310b8fd0c68 100644 (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)