crazy linker: Improved fix for crbug/479220.
commit9583566777694bee19e438f9e9aebca1c39a3b91
authorsimonb <simonb@google.com>
Fri, 24 Apr 2015 18:08:08 +0000 (24 11:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Apr 2015 18:09:15 +0000 (24 18:09 +0000)
tree19e1140e5bbd0f054b50b08dec917083e9f5c43b
parent6d91546a0756a6b2171ad146a0e02ee28fce1975
crazy linker: Improved fix for crbug/479220.

Remove IsSystemLibrary() and its list of NDK-exposed system libraries.
It is incomplete and not completable.

Replace it with a flag argument to LoadLibrary() that is true if the
library load is prompted by either preloads or dependencies.  Assume
the library being loaded is a system library and load through dlopen()
when the flag is true.

BUG=479220

Review URL: https://codereview.chromium.org/1105893002

Cr-Commit-Position: refs/heads/master@{#326838}
third_party/android_crazy_linker/README.chromium
third_party/android_crazy_linker/src/src/crazy_linker_api.cpp
third_party/android_crazy_linker/src/src/crazy_linker_globals.h
third_party/android_crazy_linker/src/src/crazy_linker_library_list.cpp
third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp
third_party/android_crazy_linker/src/src/crazy_linker_system.cpp
third_party/android_crazy_linker/src/src/crazy_linker_system.h
third_party/android_crazy_linker/src/src/crazy_linker_system_unittest.cpp
third_party/android_crazy_linker/src/src/crazy_linker_wrappers.cpp