OSDN Git Service

Build SF executable with USE_HWC2 when needed
authorDan Stoza <stoza@google.com>
Wed, 27 Jul 2016 22:05:38 +0000 (15:05 -0700)
committerDan Stoza <stoza@google.com>
Wed, 27 Jul 2016 22:05:38 +0000 (15:05 -0700)
commit10d3fb2360ae1a31d98a16c63952109825e09e55
treec7cf931c6ae087f83f0a963d020b35002902de5d
parent52f82ade66349c4538c3cca8e293081eec0a688b
Build SF executable with USE_HWC2 when needed

The SurfaceFlinger executable wasn't picking up the USE_HWC2 flag when
enabled by the TARGET_USES_HWC2 BoardConfig, causing a mismatch in the
size of the SurfaceFlinger object. This fixes that by also passing
USE_HWC2 when building the executable.

Bug: 30302693
Change-Id: I1e41e5f548d4b8329590a082d9b69155ba365be9
services/surfaceflinger/Android.mk