commit | 423ba098bd6ed9e90fa3f940b58c5c058c6cbee8 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Nov 10 20:00:25 2014 -0800 |
committer | Andreas Gampe <agampe@google.com> | Thu Nov 13 15:25:34 2014 -0800 |
tree | 322c55bc949858f36e60ed050747f62e4fdbc5b9 | |
parent | 0626ec58243c9dc7f4812a453ef9456b1f7ff1f4 [diff] [blame] |
Frameworks/base: Wall Werror in packages Turn on -Wall -Werror in packages/. Fix warnings. Change-Id: I4ec7256a7df46017e1895575719f2b5aca978bd0
diff --git a/packages/DefaultContainerService/jni/Android.mk b/packages/DefaultContainerService/jni/Android.mk index ef4f699..7808ae1 100644 --- a/packages/DefaultContainerService/jni/Android.mk +++ b/packages/DefaultContainerService/jni/Android.mk
@@ -18,8 +18,6 @@ include $(CLEAR_VARS) - - LOCAL_SRC_FILES := \ com_android_defcontainer_MeasurementUtils.cpp @@ -37,4 +35,6 @@ LOCAL_MODULE := libdefcontainer_jni LOCAL_MODULE_TAGS := optional +LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code + include $(BUILD_SHARED_LIBRARY)