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

Commit 81451c03 authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

Build SF executable with USE_HWC2 when needed

am: 10d3fb23

Change-Id: I8c97bd2ac61eaba8237c1792f1ab7f739bdbd30e
parents 3a2de088 10d3fb23
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -146,6 +146,10 @@ ifneq ($(ENABLE_CPUSETS),)
    LOCAL_CFLAGS += -DENABLE_CPUSETS
endif

ifeq ($(TARGET_USES_HWC2),true)
    LOCAL_CFLAGS += -DUSE_HWC2
endif

LOCAL_SRC_FILES := \
    main_surfaceflinger.cpp