Add x86 server support.
Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index 2ae4d83..7887474 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -23,10 +23,11 @@
//#include "rsdAllocation.h"
//#include "rsCpuIntrinsics.h"
-
+#ifndef RS_SERVER
#include "utils/Vector.h"
#include "utils/Timers.h"
#include "utils/StopWatch.h"
+#endif
#ifdef RS_COMPATIBILITY_LIB
#include <dlfcn.h>
@@ -177,10 +178,14 @@
#else
+#ifndef RS_SERVER
String8 scriptSOName(cacheDir);
scriptSOName = scriptSOName.getPathDir();
scriptSOName.appendPath("lib");
scriptSOName.append("/librs.");
+#else
+ String8 scriptSOName("lib");
+#endif
scriptSOName.append(resName);
scriptSOName.append(".so");