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

Commit 58719ff7 authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

Build SF executable with USE_HWC2 when needed

am: f9f7f693

Change-Id: Icda54608b691f84969709a20fa7272abc045bd04
parents 21200d18 f9f7f693
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -148,6 +148,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