in java/com/facebook/soloader/SoLoader.java [1201:1220]
public static String makeLdLibraryPath() {
sSoSourcesLock.readLock().lock();
try {
assertInitialized();
ArrayList<String> pathElements = new ArrayList<>();
SoSource[] soSources = sSoSources;
if (soSources != null) {
for (SoSource soSource : soSources) {
soSource.addToLdLibraryPath(pathElements);
}
}
String joinedPaths = TextUtils.join(":", pathElements);
if (Log.isLoggable(TAG, Log.DEBUG)) {
Log.d(TAG, "makeLdLibraryPath final path: " + joinedPaths);
}
return joinedPaths;
} finally {
sSoSourcesLock.readLock().unlock();
}
}