Loading base/liblog_symbols.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -16,14 +16,20 @@ #include "liblog_symbols.h" #if defined(__ANDROID__) && !defined(NO_LIBLOG_DLSYM) #if defined(__ANDROID__) #if !defined(NO_LIBLOG_DLSYM) || defined(__ANDROID_APEX__) #define USE_DLSYM #endif #endif #ifdef USE_DLSYM #include <dlfcn.h> #endif namespace android { namespace base { #if defined(__ANDROID__) && !defined(NO_LIBLOG_DLSYM) #ifdef USE_DLSYM const std::optional<LibLogFunctions>& GetLibLogFunctions() { static std::optional<LibLogFunctions> liblog_functions = []() -> std::optional<LibLogFunctions> { Loading libbacktrace/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,9 @@ cc_library { }, android: { static_libs: ["libasync_safe"], static: { whole_static_libs: ["libasync_safe"], }, }, vendor: { cflags: ["-DNO_LIBDEXFILE_SUPPORT"], Loading Loading
base/liblog_symbols.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -16,14 +16,20 @@ #include "liblog_symbols.h" #if defined(__ANDROID__) && !defined(NO_LIBLOG_DLSYM) #if defined(__ANDROID__) #if !defined(NO_LIBLOG_DLSYM) || defined(__ANDROID_APEX__) #define USE_DLSYM #endif #endif #ifdef USE_DLSYM #include <dlfcn.h> #endif namespace android { namespace base { #if defined(__ANDROID__) && !defined(NO_LIBLOG_DLSYM) #ifdef USE_DLSYM const std::optional<LibLogFunctions>& GetLibLogFunctions() { static std::optional<LibLogFunctions> liblog_functions = []() -> std::optional<LibLogFunctions> { Loading
libbacktrace/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,9 @@ cc_library { }, android: { static_libs: ["libasync_safe"], static: { whole_static_libs: ["libasync_safe"], }, }, vendor: { cflags: ["-DNO_LIBDEXFILE_SUPPORT"], Loading