summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/Android.mk')
-rw-r--r--services/surfaceflinger/Android.mk23
1 files changed, 21 insertions, 2 deletions
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk
index 1901ef9..37ad4ac 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -13,6 +13,7 @@ LOCAL_SRC_FILES := \
FrameTracker.cpp \
Layer.cpp \
LayerDim.cpp \
+ LayerBlur.cpp \
MessageQueue.cpp \
MonitoredProducer.cpp \
SurfaceFlinger.cpp \
@@ -34,8 +35,8 @@ LOCAL_SRC_FILES := \
RenderEngine/Texture.cpp \
RenderEngine/GLES10RenderEngine.cpp \
RenderEngine/GLES11RenderEngine.cpp \
- RenderEngine/GLES20RenderEngine.cpp
-
+ RenderEngine/GLES20RenderEngine.cpp \
+ DisplayUtils.cpp
LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\"
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
@@ -106,6 +107,24 @@ LOCAL_SHARED_LIBRARIES := \
libgui \
libpowermanager
+ifeq ($(TARGET_USES_QCOM_BSP), true)
+ LOCAL_C_INCLUDES += $(call project-path-for,qcom-display)/libgralloc
+ LOCAL_C_INCLUDES += $(call project-path-for,qcom-display)/libqdutils
+ LOCAL_SHARED_LIBRARIES += libqdutils
+ LOCAL_CFLAGS += -DQTI_BSP
+ LOCAL_SRC_FILES += \
+ ExSurfaceFlinger/ExLayer.cpp \
+ ExSurfaceFlinger/ExSurfaceFlinger.cpp \
+ ExSurfaceFlinger/ExVirtualDisplaySurface.cpp \
+ ExSurfaceFlinger/ExHWComposer.cpp
+endif
+
+ifeq ($(TARGET_HAVE_UI_BLUR),true)
+ LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ui
+ LOCAL_SHARED_LIBRARIES += libuiblur
+ LOCAL_CFLAGS += -DUI_BLUR
+endif
+
LOCAL_MODULE := libsurfaceflinger
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code