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

Commit 5ebdca31 authored by Chia-I Wu's avatar Chia-I Wu Committed by Android (Google) Code Review
Browse files

Merge "graphics: add a type-only common package"

parents c187a198 4ee34311
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
subdirs = [
    "allocator/2.0",
    "allocator/2.0/default",
    "common/1.0",
    "composer/2.1",
    "composer/2.1/default",
    "mapper/2.0",
+43 −0
Original line number Diff line number Diff line
// This file is autogenerated by hidl-gen. Do not edit manually.

genrule {
    name: "android.hardware.graphics.common@1.0_genc++",
    tool: "hidl-gen",
    cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.common@1.0",
    srcs: [
        "types.hal",
    ],
    out: [
        "android/hardware/graphics/common/1.0/types.cpp",
    ],
}

genrule {
    name: "android.hardware.graphics.common@1.0_genc++_headers",
    tool: "hidl-gen",
    cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.common@1.0",
    srcs: [
        "types.hal",
    ],
    out: [
        "android/hardware/graphics/common/1.0/types.h",
    ],
}

cc_library_shared {
    name: "android.hardware.graphics.common@1.0",
    generated_sources: ["android.hardware.graphics.common@1.0_genc++"],
    generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
    export_generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
    shared_libs: [
        "libhidl",
        "libhwbinder",
        "libutils",
        "libcutils",
    ],
    export_shared_lib_headers: [
        "libhidl",
        "libhwbinder",
        "libutils",
    ],
}
+1207 −0

File added.

Preview size limit exceeded, changes collapsed.