summaryrefslogtreecommitdiffstats
path: root/rsContext.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-07-03 17:27:38 -0700
committerStephen Hines <srhines@google.com>2013-07-10 18:29:06 -0700
commitb0934b67b95cc27e2358c2aa4db5f7c1067c8f9b (patch)
tree235e59c6a8b2e074095cd22ff615a17ed3fbff9f /rsContext.cpp
parent606e50048307530335b0885364ba888da436229b (diff)
downloadandroid_frameworks_rs-b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b.tar.gz
android_frameworks_rs-b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b.tar.bz2
android_frameworks_rs-b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b.zip
Remove libutils and fix rsDebug for RS support library.
Bug: 9664050 Our bitcode runtime library translates vector rsDebug() calls into passing their parameters via pointers. The previous version of libRSSupport.so was being created with non-pointer versions of these routines accidentally. This change also fixes a missing permission issue for ImageProcessing2, so that the compatibility library can be verified. This change also removes the use of libutils by switching the implementation of String8/Vector in the compatibility library to internal types backed by libstlport_static. Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
Diffstat (limited to 'rsContext.cpp')
-rw-r--r--rsContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsContext.cpp b/rsContext.cpp
index bb2808ea..74c40c5c 100644
--- a/rsContext.cpp
+++ b/rsContext.cpp
@@ -32,8 +32,9 @@
#include <sys/syscall.h>
#include <string.h>
#include <dlfcn.h>
+#include <unistd.h>
-#ifndef RS_SERVER
+#if !defined(RS_SERVER)
#include <cutils/properties.h>
#endif