| Index: runtime/bin/extensions_android.cc
|
| diff --git a/runtime/bin/extensions_android.cc b/runtime/bin/extensions_android.cc
|
| index 944d57e5967ddb0ec96b90402a96e68297c6f46e..1b2f36385e10553354e1e31781bc58c6dd4f4f8b 100644
|
| --- a/runtime/bin/extensions_android.cc
|
| +++ b/runtime/bin/extensions_android.cc
|
| @@ -5,8 +5,8 @@
|
| #include "platform/globals.h"
|
| #if defined(HOST_OS_ANDROID)
|
|
|
| -#include "bin/extensions.h"
|
| #include <dlfcn.h> // NOLINT
|
| +#include "bin/extensions.h"
|
|
|
| #include "platform/assert.h"
|
|
|
| @@ -23,20 +23,17 @@ void* Extensions::LoadExtensionLibrary(const char* library_file) {
|
| return dlopen(library_file, RTLD_LAZY);
|
| }
|
|
|
| -
|
| void* Extensions::ResolveSymbol(void* lib_handle, const char* symbol) {
|
| dlerror();
|
| return dlsym(lib_handle, symbol);
|
| }
|
|
|
| -
|
| void Extensions::UnloadLibrary(void* lib_handle) {
|
| dlerror();
|
| int result = dlclose(lib_handle);
|
| ASSERT(result == 0);
|
| }
|
|
|
| -
|
| Dart_Handle Extensions::GetError() {
|
| const char* err_str = dlerror();
|
| if (err_str != NULL) {
|
|
|