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
diff --git a/rsContext.cpp b/rsContext.cpp
index bb2808e..74c40c5 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