Use build fingerprint and compile command for caching.
If either of those have changed, we need to invalidate the
compiled bit code.
Change-Id: Ic0c392ea5bfff5bf6dc8511740306895b1b12c82
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index 7531a86..666379d 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -112,7 +112,8 @@
const Script *mScript;
#ifndef RS_COMPATIBILITY_LIB
- const char* findCoreLib(const bcinfo::MetadataExtractor& ME, const char* bitcode,
+ // Returns the path to the core library we'll use.
+ const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
size_t bitcodeSize);
int (*mRoot)();
int (*mRootExpand)();
@@ -150,10 +151,8 @@
Allocation **mBoundAllocs;
void * mIntrinsicData;
bool mIsThreadable;
-
};
-
Allocation * rsdScriptGetAllocationForPointer(
const Context *dc,
const Script *script,