From 91c0c1efe40cb30d7de319ccaf67324ecdfe0fbe Mon Sep 17 00:00:00 2001 From: John Muir Date: Fri, 17 Feb 2017 16:11:09 -0800 Subject: libdvrgraphics: Add libarect as whole static lib to fix compile Changes in frameworks/native cause compile errors looking for android/rect.h. Bug: None Test: Build completes. Change-Id: Ie9ba9aca0cb620c0874d47113b9ea9875277a0f7 --- libs/vr/libdvrgraphics/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/vr/libdvrgraphics/Android.mk b/libs/vr/libdvrgraphics/Android.mk index b95b18ee3d..b9e601ca92 100644 --- a/libs/vr/libdvrgraphics/Android.mk +++ b/libs/vr/libdvrgraphics/Android.mk @@ -29,6 +29,9 @@ LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles) LOCAL_SHARED_LIBRARIES := $(sharedLibraries) LOCAL_STATIC_LIBRARIES := $(staticLibraries) +# Rather than add this header-file-only library to all users of libdvrgraphics, +# include it here. +LOCAL_WHOLE_STATIC_LIBRARIES := libarect LOCAL_MODULE := libdvrgraphics include $(BUILD_STATIC_LIBRARY) -- cgit v1.2.3-59-g8ed1b