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

Commit 82a8c40f authored by Orion Hodson's avatar Orion Hodson Committed by Gerrit Code Review
Browse files

Merge "Remove unnecessary dependency on libnativehelper.so"

parents 72ee7937 95962e57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#include <gui/DisplayEventDispatcher.h>
#include <gui/ISurfaceComposer.h>
#include <gui/SurfaceComposerClient.h>
#include <nativehelper/JNIHelp.h>
#include <jni.h>
#include <private/android/choreographer.h>
#include <utils/Looper.h>
#include <utils/Timers.h>
+2 −5
Original line number Diff line number Diff line
@@ -72,15 +72,12 @@ cc_library_shared {
        "libcutils",
        "libEGL",
        "libGLESv2",
        "libnativehelper",
    ],

    export_shared_lib_headers: [
        "libnativehelper",
    ],

    header_libs: [
        "libnativedisplay_headers",
        "libnativehelper_header_only",
    ],

    export_header_lib_headers: ["libnativehelper_header_only"],
}
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

#include <apex/choreographer.h>
#include <inttypes.h>
#include <nativehelper/JNIHelp.h>
#include <jni.h>

namespace android {

+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <nativehelper/JNIHelp.h>
#include <jni.h>
#include <system/graphics.h>

// This file provides a facade API on top of SurfaceTexture, which avoids using
+1 −2
Original line number Diff line number Diff line
@@ -29,8 +29,7 @@
#include <mutex>

#include <jni.h>
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedLocalRef.h>
#include <nativehelper/scoped_local_ref.h>

struct ASurfaceTexture {
    android::sp<android::SurfaceTexture> consumer;