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_sdm845_display_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["hardware_qcom_sdm845_display_license"],
8}
9
10cc_library_shared {
11    name: "libqdutils",
12    vendor: true,
13    defaults: ["display_defaults"],
14    header_libs: ["libhardware_headers", "libutils_headers"],
15    shared_libs: [
16        "libbinder",
17        "libqservice",
18    ],
19    cflags: [
20        "-DLOG_TAG=\"qdutils\"",
21        "-Wno-sign-conversion",
22    ],
23    srcs: [
24        "qd_utils.cpp",
25        "display_config.cpp",
26    ],
27}
28
29cc_library_shared {
30    name: "libqdMetaData",
31    vendor: true,
32    defaults: ["display_defaults"],
33    cflags: [
34        "-Wno-sign-conversion",
35        "-DLOG_TAG=\"qdmetadata\"",
36    ],
37    srcs: ["qdMetaData.cpp","qd_utils.cpp"],
38}
39
40// Remove after WFD moves to use libqdMetaData directly
41cc_library_shared {
42    name: "libqdMetaData.system",
43    defaults: ["display_defaults"],
44    cflags: [
45        "-Wno-sign-conversion",
46        "-DLOG_TAG=\"qdmetadata\"",
47    ],
48    srcs: ["qdMetaData.cpp","qd_utils.cpp"],
49}
50