Merge "libnativeloader: remove stubs for now."
This commit is contained in:
commit
3ec4081849
2 changed files with 1 additions and 10 deletions
|
@ -23,15 +23,6 @@ cc_library {
|
|||
"llndk.libraries.txt",
|
||||
"vndksp.libraries.txt",
|
||||
],
|
||||
target: {
|
||||
android: {
|
||||
version_script: "libnativeloader.map.txt",
|
||||
},
|
||||
},
|
||||
stubs: {
|
||||
symbol_file: "libnativeloader.map.txt",
|
||||
versions: ["1"],
|
||||
},
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
|
|
|
@ -632,7 +632,7 @@ void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* pat
|
|||
*needs_native_bridge = false;
|
||||
void* handle = dlopen(path, RTLD_NOW);
|
||||
if (handle == nullptr) {
|
||||
*error_msg = dlerror();
|
||||
*error_msg = strdup(dlerror());
|
||||
}
|
||||
return handle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue