Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c0d3160 authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

HWC2: Hook up to BoardConfig variable

am: f9d7e1a0

Change-Id: If27dd2b17bdd5ab596ef4eba413993987edfc913
parents 495a1549 f9d7e1a0
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -45,8 +45,7 @@ LOCAL_C_INCLUDES := \
LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\"
LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\"
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES


USE_HWC2 := false
ifeq ($(TARGET_USES_HWC2),true)
ifeq ($(USE_HWC2),true)
    LOCAL_CFLAGS += -DUSE_HWC2
    LOCAL_CFLAGS += -DUSE_HWC2
    LOCAL_SRC_FILES += \
    LOCAL_SRC_FILES += \
        SurfaceFlinger.cpp \
        SurfaceFlinger.cpp \