summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Muir <muirj@google.com> 2017-02-17 16:11:09 -0800
committer John Muir <muirj@google.com> 2017-02-17 16:11:09 -0800
commit91c0c1efe40cb30d7de319ccaf67324ecdfe0fbe (patch)
treef1a289da268b799ac4e32476ef12fe1d851c88ee
parentfb94f1db72bd769d4a63e2baf0b5a4ca5da7a86f (diff)
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
-rw-r--r--libs/vr/libdvrgraphics/Android.mk3
1 files changed, 3 insertions, 0 deletions
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)