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

Commit 986c62c8 authored by Chia-I Wu's avatar Chia-I Wu Committed by android-build-merger
Browse files

graphics: make allocator default impl a static library am: b511645d am: 80a04eb3

am: 2876b053

Change-Id: I9a1cb8b600a0b1846877cacf15d837a47aeaf07f
parents dc3f0270 2876b053
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
cc_library_shared {
    name: "android.hardware.graphics.allocator@2.0-impl",
    defaults: ["hidl_defaults"],
    proprietary: true,
    vendor: true,
    relative_install_path: "hw",
    srcs: ["Gralloc.cpp", "Gralloc0Allocator.cpp", "Gralloc1Allocator.cpp"],
    cppflags: ["-Wall", "-Wextra"],
    srcs: ["Gralloc.cpp"],
    static_libs: [
        "android.hardware.graphics.allocator@2.0-passthrough",
    ],
    shared_libs: [
        "android.hardware.graphics.allocator@2.0",
        "libbase",
@@ -15,9 +17,6 @@ cc_library_shared {
        "liblog",
        "libutils",
    ],
    header_libs: [
        "libgrallocmapperincludes",
    ],
}

cc_binary {
+23 −0
Original line number Diff line number Diff line
cc_library_static {
    name: "android.hardware.graphics.allocator@2.0-passthrough",
    defaults: ["hidl_defaults"],
    vendor: true,
    srcs: [
        "Gralloc0Allocator.cpp",
        "Gralloc1Allocator.cpp",
    ],
    shared_libs: [
        "android.hardware.graphics.allocator@2.0",
        "android.hardware.graphics.mapper@2.0",
        "libhardware",
    ],
    export_shared_lib_headers: [
        "android.hardware.graphics.allocator@2.0",
        "android.hardware.graphics.mapper@2.0",
        "libhardware",
    ],
    export_include_dirs: ["."],
    header_libs: [
        "libgrallocmapperincludes",
    ],
}
Loading