1package {
2    default_applicable_licenses: ["hardware_qcom_sm8150_display_license"],
3}
4
5cc_library_shared {
6    name: "libgrallocutils",
7    vendor: true,
8    defaults: ["display_go_defaults"],
9    srcs: [
10        "gr_utils.cpp",
11        "gr_adreno_info.cpp",
12    ],
13    cflags: [
14        "-DLOG_TAG=\"qdgralloc\"",
15        "-Wno-sign-conversion",
16    ],
17    shared_libs: [
18        "android.hardware.graphics.mapper@2.0",
19        "android.hardware.graphics.mapper@2.1",
20        "android.hardware.graphics.mapper@3.0",
21        "android.hardware.graphics.mapper@4.0",
22        "libcutils",
23        "libdl",
24        "liblog",
25        "//vendor/qcom/sm8150:libqdMetaData",
26    ],
27    header_libs: [
28        "display_headers",
29        "device_kernel_headers",
30    ],
31    export_header_lib_headers: [
32        "device_kernel_headers",
33    ],
34    export_include_dirs: ["."],
35}
36