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

Unified Diff: third_party/android_crazy_linker/src/src/crazy_linker_api.cpp

Issue 1216703003: [android] Remove unpack library fallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak documentation to not allow null context Created 5 years, 6 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_api.cpp
diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_api.cpp b/third_party/android_crazy_linker/src/src/crazy_linker_api.cpp
index 52badb80b9e41cee20d8c80e6ce44221766cb25f..31b2a9a951c1f2ac73b467c22789be05cecd8c45 100644
--- a/third_party/android_crazy_linker/src/src/crazy_linker_api.cpp
+++ b/third_party/android_crazy_linker/src/src/crazy_linker_api.cpp
@@ -380,31 +380,6 @@ crazy_status_t crazy_library_find_from_address(void* address,
}
}
-crazy_status_t crazy_library_file_path_in_zip_file(const char* lib_name,
- char* buffer,
- size_t buffer_size) {
- crazy::String path = crazy::LibraryList::GetLibraryFilePathInZipFile(
- lib_name);
- if (path.size() >= buffer_size) {
- return CRAZY_STATUS_FAILURE;
- }
-
- memcpy(buffer, path.c_str(), path.size());
- buffer[path.size()] = '\0';
- return CRAZY_STATUS_SUCCESS;
-}
-
-crazy_status_t crazy_linker_check_library_is_mappable_in_zip_file(
- const char* zipfile_name,
- const char* lib_name) {
- Error error;
- if (crazy::LibraryList::FindMappableLibraryInZipFile(
- zipfile_name, lib_name, &error) == CRAZY_OFFSET_FAILED)
- return CRAZY_STATUS_FAILURE;
-
- return CRAZY_STATUS_SUCCESS;
-}
-
void crazy_library_close(crazy_library_t* library) {
crazy_library_close_with_context(library, NULL);
}
« no previous file with comments | « third_party/android_crazy_linker/src/include/crazy_linker.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698