Deprecations are warnings not errors
Change-Id: Ib77f45fdc27ea53f1dd181f48c76810d03f8dcdb
This commit is contained in:
@ -257,7 +257,8 @@ LOCAL_MODULE:= libandroid_runtime
|
||||
|
||||
# -Wno-unknown-pragmas: necessary for Clang as the GL bindings need to turn
|
||||
# off a GCC warning that Clang doesn't know.
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code -Wno-unknown-pragmas
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# -Wno-c++11-extensions: Clang warns about Skia using the C++11 override keyword, but this project
|
||||
# is not being compiled with that level. Remove once this has changed.
|
||||
|
@ -69,7 +69,7 @@ LOCAL_C_INCLUDES += \
|
||||
$(PV_INCLUDES) \
|
||||
$(JNI_H_INCLUDE)
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
|
||||
|
||||
LOCAL_MODULE:= libmedia_jni
|
||||
|
||||
|
@ -18,6 +18,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE:= libsoundpool
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
@ -18,6 +18,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
Reference in New Issue
Block a user