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_display_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["hardware_qcom_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        "-DDEBUG_CALC_FPS",
21        "-DLOG_TAG=\"qdutils\"",
22        "-Wno-sign-conversion",
23    ],
24    srcs: [
25        "qd_utils.cpp",
26        "display_config.cpp",
27        "profiler.cpp"
28    ],
29}
30
31cc_library_shared {
32    name: "libqdMetaData",
33    vendor: true,
34    defaults: ["display_defaults"],
35    cflags: [
36        "-Wno-sign-conversion",
37        "-DLOG_TAG=\"qdmetadata\"",
38    ],
39    srcs: ["qdMetaData.cpp","qd_utils.cpp"],
40}
41
42// Remove after WFD moves to use libqdMetaData directly
43cc_library_shared {
44    name: "libqdMetaData.system",
45    defaults: ["display_defaults"],
46    cflags: [
47        "-Wno-sign-conversion",
48        "-DLOG_TAG=\"qdmetadata\"",
49    ],
50    srcs: ["qdMetaData.cpp","qd_utils.cpp"],
51}
52