1package {
2    default_applicable_licenses: ["hardware_qcom_sdm845_display_license"],
3}
4
5// Added automatically by a large-scale-change that took the approach of
6// 'apply every license found to every target'. While this makes sure we respect
7// every license restriction, it may not be entirely correct.
8//
9// e.g. GPL in an MIT project might only apply to the contrib/ directory.
10//
11// Please consider splitting the single license below into multiple licenses,
12// taking care not to lose any license_kind information, and overriding the
13// default license using the 'licenses: [...]' property on targets as needed.
14//
15// For unused files, consider creating a 'fileGroup' with "//visibility:private"
16// to attach the license to, and including a comment whether the files may be
17// used in the current project.
18// See: http://go/android-license-faq
19license {
20    name: "hardware_qcom_sdm845_display_license",
21    visibility: [":__subpackages__"],
22    license_kinds: [
23        "SPDX-license-identifier-Apache-2.0",
24        "SPDX-license-identifier-BSD",
25        "legacy_not_a_contribution",
26    ],
27    // large-scale-change unable to identify any license_text files
28}
29
30cc_defaults {
31    name: "display_defaults",
32    cflags: [
33        "-Wno-missing-field-initializers",
34        "-Wconversion",
35        "-Wall",
36        "-Werror",
37    ],
38    shared_libs: [
39        "liblog",
40        "libcutils",
41        "libutils",
42    ],
43    header_libs: ["display_headers"],
44    clang: true,
45}
46
47cc_library_headers {
48    name: "display_headers",
49    vendor_available: true,
50    export_include_dirs: [
51        "include",
52        "libcopybit",
53        "libdrmutils",
54        "libqdutils",
55        "libqservice",
56        "gpu_tonemapper",
57        "sdm/include",
58        "gralloc",
59        "libdebug",
60        "libhistogram",
61    ],
62    header_libs: ["libhardware_headers"],
63    export_header_lib_headers: ["libhardware_headers"],
64}
65
66cc_library_headers {
67    name: "display_intf_headers",
68    vendor_available: true,
69    export_include_dirs: [
70        "include",
71        "libcopybit",
72        "libqdutils",
73        "gralloc",
74    ],
75    header_libs: ["libhardware_headers"],
76    export_header_lib_headers: ["libhardware_headers"],
77}
78
79subdirs = [
80    "libqservice",
81    "libqdutils",
82]
83