From 10f317038dd53543dc8c7f5afe26a6360adfb5f3 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Thu, 15 Aug 2013 17:30:12 -0700 Subject: Fix up dependencies further for RS compatibility library. Removed cutils dependency from rsdCore.cpp. Removed system/grapics.h dependency by bringing in the only enum we use. Change-Id: I0de6c0c2e049c78cc20516cfa2035291da2a0f04 --- rsType.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rsType.cpp') diff --git a/rsType.cpp b/rsType.cpp index 9719a04e..0d1fed6b 100644 --- a/rsType.cpp +++ b/rsType.cpp @@ -16,10 +16,14 @@ #include "rsContext.h" -#ifndef RS_SERVER +#if !defined(RS_SERVER) && !defined(RS_COMPATIBILITY_LIB) #include "system/graphics.h" #endif +#ifdef RS_COMPATIBILITY_LIB +#include "rsCompatibilityLib.h" +#endif + using namespace android; using namespace android::renderscript; -- cgit v1.2.3