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)
committerSteve Kondik <steve@cyngn.com>
Wed, 5 Oct 2016 01:33:11 +0000 (18:33 -0700)
commitedaf3dd763564b0d1806cf24c20891032741557b
treea61e78b8a9d4a9e16934d876499ed4f23af62b1f
parentd1e57a55d1838e0099ee0f07aedd98ae2a22d48c
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.

Test: Cherry-pick from internal branch
Bug: 30302693
Change-Id: I1e41e5f548d4b8329590a082d9b69155ba365be9
services/surfaceflinger/Android.mk