Make RS compile on ARM64.
bug 13280327
Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index c8a73bb..eeb38bf 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -91,14 +91,19 @@
virtual Allocation * getAllocationForPointer(const void *ptr) const;
+#ifndef FAKE_ARM64_BUILD
#ifndef RS_COMPATIBILITY_LIB
virtual void * getRSExecutable() { return mExecutable; }
#endif
+#else
+ virtual void* getRSExecutable() { return NULL; }
+#endif
protected:
RsdCpuReferenceImpl *mCtx;
const Script *mScript;
+#ifndef FAKE_ARM64_BUILD
#ifndef RS_COMPATIBILITY_LIB
int (*mRoot)();
int (*mRootExpand)();
@@ -127,6 +132,7 @@
size_t mExportedVariableCount;
size_t mExportedFunctionCount;
#endif
+#endif
Allocation **mBoundAllocs;
void * mIntrinsicData;