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

Commit 688b3704 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Create hostgraphics header target

This creates a header target for libhostgraphics, so that those header
files can be included more easily. That follows the general pattern of
native libraries in Android build.

Flag: NONE host only change
Bug: 322360037
Test: N/A
Change-Id: I23f2ad1ebd279f490173bddcc93c9897043789db
parent 1e7e29a1
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -7,6 +7,17 @@ package {
    default_applicable_licenses: ["frameworks_base_license"],
}

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

cc_library_host_static {
    name: "libhostgraphics",

@@ -30,12 +41,13 @@ cc_library_host_static {
    ],

    header_libs: [
        "libhostgraphics_headers",
        "libnativebase_headers",
        "libnativedisplay_headers",
        "libnativewindow_headers",
    ],

    export_include_dirs: ["."],
    export_include_dirs: ["include"],

    target: {
        windows: {
Loading