summaryrefslogtreecommitdiff
path: root/rsType.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-08-15 17:30:12 -0700
committerStephen Hines <srhines@google.com>2013-08-15 17:41:19 -0700
commit10f317038dd53543dc8c7f5afe26a6360adfb5f3 (patch)
treee1f55736387fb5ea6df940ebfa4990324479834f /rsType.cpp
parent43cfc0cbe6e6e8f585a0ae5f1d9cc2859ab1dda7 (diff)
downloadrs-10f317038dd53543dc8c7f5afe26a6360adfb5f3.tar.gz
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
Diffstat (limited to 'rsType.cpp')
-rw-r--r--rsType.cpp6
1 files changed, 5 insertions, 1 deletions
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;