| 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..6539b8056a8af9b8c4868d343da67fcc921f2485 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,14 @@ class LibraryList {
|
| SearchPathList* search_path_list,
|
| Error* error);
|
|
|
| + // Find the location of a library in the zip file. If the name of the library
|
| + // is too long, an error occurs during the search or the library is not
|
| + // page aligned in the zip file, CRAZY_OFFSET_FAILED is returned. Otherwise,
|
| + // the offset of the library in the zip file is returned.
|
| + static int FindAlignedLibraryInZipFile(const char* zip_file_path,
|
| + const char* lib_name,
|
| + Error* error);
|
| +
|
| // 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,
|
|
|