am c6e992a1: Merge "Frameworks/base: Wall Werror in libs/input"
* commit 'c6e992a1bc1bc02be9770ad2c384b6b7e5a0db0b': Frameworks/base: Wall Werror in libs/input
This commit is contained in:
@@ -27,14 +27,14 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libskia \
|
||||
libgui \
|
||||
libui \
|
||||
libinput \
|
||||
libinputflinger
|
||||
libinput \
|
||||
libinputflinger
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/native/services
|
||||
|
||||
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
|
||||
LOCAL_MODULE:= libinputservice
|
||||
|
||||
|
||||
@@ -25,11 +25,14 @@
|
||||
|
||||
#include <cutils/log.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#include <SkBitmap.h>
|
||||
#include <SkCanvas.h>
|
||||
#include <SkColor.h>
|
||||
#include <SkPaint.h>
|
||||
#include <SkXfermode.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -24,11 +24,15 @@
|
||||
#include <utils/String8.h>
|
||||
#include <gui/Surface.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#include <SkBitmap.h>
|
||||
#include <SkCanvas.h>
|
||||
#include <SkColor.h>
|
||||
#include <SkPaint.h>
|
||||
#include <SkXfermode.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <android/native_window.h>
|
||||
|
||||
namespace android {
|
||||
|
||||
Reference in New Issue
Block a user