* commit '4ed472ab33e78391c0b084ed3908019e06b7dfe5': Suppress Clang compilation warnings.
This commit is contained in:
@@ -2,6 +2,14 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
||||||
|
|
||||||
|
# Too many unused parameters in external/skia/include and this directory.
|
||||||
|
# getConfig in external/skia/include/core/SkBitmap.h is deprecated.
|
||||||
|
# Allow Gnu extension: in-class initializer of static 'const float' member.
|
||||||
|
LOCAL_CLANG_CFLAGS += \
|
||||||
|
-Wno-unused-parameter \
|
||||||
|
-Wno-deprecated-declarations \
|
||||||
|
-Wno-gnu-static-float-init
|
||||||
|
|
||||||
# Only build libhwui when USE_OPENGL_RENDERER is
|
# Only build libhwui when USE_OPENGL_RENDERER is
|
||||||
# defined in the current device/board configuration
|
# defined in the current device/board configuration
|
||||||
ifeq ($(USE_OPENGL_RENDERER),true)
|
ifeq ($(USE_OPENGL_RENDERER),true)
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class RenderState;
|
|||||||
class OpenGLRenderer;
|
class OpenGLRenderer;
|
||||||
class RenderNode;
|
class RenderNode;
|
||||||
class DeferredDisplayList;
|
class DeferredDisplayList;
|
||||||
class DeferStateStruct;
|
struct DeferStateStruct;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A layer has dimensions and is backed by an OpenGL texture or FBO.
|
* A layer has dimensions and is backed by an OpenGL texture or FBO.
|
||||||
|
|||||||
Reference in New Issue
Block a user