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