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

Commit 8bd0bab0 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Enable header libraries for host builds

The host build of libhwui requires access to the headers of
nativedisplay and nativewindow.

Bug: 322360037
Test: N/A
Change-Id: I1deefdaa42c8756914451c8642fff83199d25e70
parent f68d6938
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -34,7 +34,13 @@ license {


cc_library_headers {
cc_library_headers {
    name: "libnativedisplay_headers",
    name: "libnativedisplay_headers",
    host_supported: true,
    export_include_dirs: ["include"],
    export_include_dirs: ["include"],
    target: {
        windows: {
            enabled: true,
        },
    },
}
}


cc_library_shared {
cc_library_shared {
+5 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,11 @@ cc_library_headers {
        "test_com.android.media.swcodec",
        "test_com.android.media.swcodec",
    ],
    ],
    host_supported: true,
    host_supported: true,
    target: {
        windows: {
            enabled: true,
        },
    },
}
}


ndk_library {
ndk_library {
+4 −0
Original line number Original line Diff line number Diff line
@@ -52,6 +52,10 @@
#include <inttypes.h>
#include <inttypes.h>
#include <sys/cdefs.h>
#include <sys/cdefs.h>


#if !defined(__INTRODUCED_IN)
#define __INTRODUCED_IN(__api_level) /* nothing */
#endif

__BEGIN_DECLS
__BEGIN_DECLS


// clang-format off
// clang-format off