1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_qcom_sm7250_display_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["hardware_qcom_sm7250_display_license"],
8}
9
10cc_library_shared {
11    name: "libqdutils",
12    vendor: true,
13    defaults: [
14        "display_defaults",
15        "display_go_defaults",
16    ],
17    header_libs: [
18        "libhardware_headers",
19        "libutils_headers",
20    ],
21    shared_libs: [
22        "libbinder",
23        "libqservice",
24    ],
25    cflags: [
26        "-DLOG_TAG=\"qdutils\"",
27        "-Wno-sign-conversion",
28    ],
29    srcs: [
30        "qd_utils.cpp",
31        "display_config.cpp",
32    ],
33    sanitize: {
34        misc_undefined: [
35        "signed-integer-overflow",
36        "unsigned-integer-overflow",
37        ],
38    }
39}
40