From 5428191897964c40728d2e2ab9e3499e90fef3ab Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Wed, 15 Jun 2016 07:48:04 -0500 Subject: [PATCH] blur: add LOCAL_COPY_HEADERS for Blur.h * Protects against a race where Blur wouldn't get "built" before surfaceflinger tried to build causing a missing header error. --- blur/Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blur/Android.mk b/blur/Android.mk index db41494..810e469 100644 --- a/blur/Android.mk +++ b/blur/Android.mk @@ -22,3 +22,8 @@ LOCAL_MODULE_SUFFIX := .h LOCAL_MODULE_CLASS := HEADERS LOCAL_MODULE_PATH := $(TARGET_OUT_HEADERS)/ui include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_COPY_HEADERS_TO := ui +LOCAL_COPY_HEADERS := Blur.h +include $(BUILD_COPY_HEADERS)