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

Commit fc26fae3 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Simplify build of libhostgraphics

Most of the complications has been solved by the creation of the
libui-types library.

Bug: 322360037
Test: build libhostgraphics on host
Change-Id: I6577dcca4e98106522e44d319fabd7a51c5f68ca
parent 35a873ce
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -17,26 +17,17 @@ cc_library_host_static {
    static_libs: [
        "libbase",
        "libmath",
        "libui-types",
        "libutils",
    ],

    srcs: [
        ":libui_host_common",
        "ADisplay.cpp",
        "Fence.cpp",
        "HostBufferQueue.cpp",
        "PublicFormat.cpp",
    ],

    include_dirs: [
        // Here we override all the headers automatically included with frameworks/native/include.
        // When frameworks/native/include will be removed from the list of automatic includes.
        // We will have to copy necessary headers with a pre-build step (generated headers).
        ".",
        "frameworks/native/libs/arect/include",
        "frameworks/native/libs/ui/include_private",
    ],

    header_libs: [
        "libnativebase_headers",
        "libnativedisplay_headers",