Cleanup diff with compat.
Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
diff --git a/rsScriptC.h b/rsScriptC.h
index 75fb0f4..c1e3301 100644
--- a/rsScriptC.h
+++ b/rsScriptC.h
@@ -21,9 +21,11 @@
#include "rsEnv.h"
+#ifndef RS_COMPATIBILITY_LIB
#ifndef ANDROID_RS_SERIALIZE
#include "bcinfo/BitcodeTranslator.h"
#endif
+#endif
// ---------------------------------------------------------------------------
namespace android {
@@ -61,10 +63,13 @@
void setupScript(Context *);
void setupGLState(Context *);
private:
+#ifndef RS_COMPATIBILITY_LIB
#ifndef ANDROID_RS_SERIALIZE
bcinfo::BitcodeTranslator *BT;
#endif
+
bool createCacheDir(const char *cacheDir);
+#endif
};
class ScriptCState {