diff --git a/light/2.0/default/Android.mk b/light/2.0/default/Android.mk index 1f44e66438..da75e1a6a4 100644 --- a/light/2.0/default/Android.mk +++ b/light/2.0/default/Android.mk @@ -7,6 +7,8 @@ LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SRC_FILES := \ Light.cpp \ +LOCAL_CFLAGS := -Wall -Werror + LOCAL_SHARED_LIBRARIES := \ libhidlbase \ libhidltransport \ @@ -28,6 +30,8 @@ LOCAL_INIT_RC := android.hardware.light@2.0-service.rc LOCAL_SRC_FILES := \ service.cpp \ +LOCAL_CFLAGS := -Wall -Werror + LOCAL_SHARED_LIBRARIES := \ liblog \ libcutils \