Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e46b62e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "base: dlopen/dlsym for liblog when SDK_VER <= 29" into rvc-dev

parents 4b0161cd 22207e65
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -70,10 +70,6 @@ cc_defaults {
        "test_utils.cpp",
    ],

    static: {
        cflags: ["-DNO_LIBLOG_DLSYM"],
    },

    cppflags: ["-Wexit-time-destructors"],
    shared_libs: ["liblog"],
    target: {
+1 −3
Original line number Diff line number Diff line
@@ -16,11 +16,9 @@

#include "liblog_symbols.h"

#if defined(__ANDROID__)
#if !defined(NO_LIBLOG_DLSYM) || defined(__ANDROID_APEX__)
#if defined(__ANDROID_SDK_VERSION__) && (__ANDROID_SDK_VERSION__ <= 29)
#define USE_DLSYM
#endif
#endif

#ifdef USE_DLSYM
#include <dlfcn.h>