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

Commit 4ee34311 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

graphics: add a type-only common package

Copied from system/graphics.h with two changes

 - YCbCr -> YCBCR
 - HAL_TRANSFORM_RESERVED is removed

Test: make
Change-Id: I1d343ff176ac61f911fee949861ce4b12255cd47
parent 4a0da2d1
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.