Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: third_party/android_crazy_linker/src/src/crazy_linker_library_list.h

Issue 673093005: Fallback for loading library from a zipfile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_library_list.h b/third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
index 9759a77a6e50b9b9bfd3dfa8e2e91bcc339e9235..0a10001dc892c2dfe4bf83c446aebf78b16a9526 100644
--- a/third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
+++ b/third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
@@ -71,6 +71,10 @@ class LibraryList {
SearchPathList* search_path_list,
Error* error);
+ // Return the pathname of the library in the zip file:
+ // "lib/<abi>/crazy.<lib_name>"
+ static String LibraryFilenameInZipFile(const char* lib_name);
+
// Try to load a library from its location in the zip file.
// On failure, returns NULL and sets the |error| message.
LibraryView* LoadLibraryInZipFile(const char* zip_file_path,

Powered by Google App Engine
This is Rietveld 408576698