summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.cpp
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-01-21 23:17:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-21 23:17:37 +0000
commit24c1f31c6f03ffffdb08ee2c1c309edbc15b035f (patch)
tree6ddfb79547a5a6815b7ec0379e4b9934d7f9b1a2 /cpu_ref/rsCpuScript.cpp
parent07f6176b25b056948092bd2edf5d2b2d5dead777 (diff)
parentf0558cce29611fdba9fdd50d39785f53d95fe1d5 (diff)
Merge "Do not check for .so in /system in native mode"
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
-rw-r--r--cpu_ref/rsCpuScript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index f341b4e0..38a0bf57 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -223,6 +223,7 @@ static void *loadSharedLibrary(const char *cacheDir, const char *resName) {
ALOGE("Unable to open shared library (%s): %s",
scriptSOName.c_str(), dlerror());
+#ifdef RS_COMPATIBILITY_LIB
// One final attempt to find the library in "/system/lib".
// We do this to allow bundled applications to use the compatibility
// library fallback path. Those applications don't have a private
@@ -237,6 +238,7 @@ static void *loadSharedLibrary(const char *cacheDir, const char *resName) {
ALOGE("Unable to open system shared library (%s): %s",
scriptSONameSystem.c_str(), dlerror());
}
+#endif
}
return loaded;