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

Commit e40dd739 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

libvulkan: get android_get_exported_namespace from real header

Bug: 134185757
Test: build, flash and boot.
Change-Id: Ife2cab93ebddf898ed8c031a33e7997ae8d5d63f
parent 6aef228b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ cc_library_shared {

    header_libs: [
        "hwvulkan_headers",
        "libnativeloader-dummy-headers",
        "vulkan_headers",
    ],
    export_header_lib_headers: ["vulkan_headers"],
+1 −5
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
#include <cutils/properties.h>
#include <graphicsenv/GraphicsEnv.h>
#include <log/log.h>
#include <nativeloader/dlext_namespaces.h>
#include <sys/prctl.h>
#include <utils/Timers.h>
#include <utils/Trace.h>
@@ -44,11 +45,6 @@
using namespace android::hardware::configstore;
using namespace android::hardware::configstore::V1_0;

// TODO(b/37049319) Get this from a header once one exists
extern "C" {
android_namespace_t* android_get_exported_namespace(const char*);
}

// #define ENABLE_ALLOC_CALLSTACKS 1
#if ENABLE_ALLOC_CALLSTACKS
#include <utils/CallStack.h>