blob: 0702d956520cc0b9c1a2b21252e222edd2cf2236 [file] [log] [blame]
Roger Liaoad88c9c2019-07-19 16:08:21 +08001soong_namespace {
2}
3
Bob Badourd010e072021-02-12 16:30:20 -08004package {
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
Roger Liaoad88c9c2019-07-19 16:08:21 +080033display_go_defaults_sm7250 {
34 name: "display_go_defaults",
35}
36
Naseer Ahmed99051282017-05-15 12:20:07 -040037cc_defaults {
38 name: "display_defaults",
Roger Liaoad88c9c2019-07-19 16:08:21 +080039 defaults: ["display_go_defaults"],
Naseer Ahmed99051282017-05-15 12:20:07 -040040 cflags: [
41 "-Wno-missing-field-initializers",
42 "-Wconversion",
43 "-Wall",
44 "-Werror",
Naseer Ahmed99051282017-05-15 12:20:07 -040045 ],
46 shared_libs: [
47 "liblog",
48 "libcutils",
49 "libutils",
50 ],
51 header_libs: ["display_headers"],
Alix7cc16922022-04-18 03:55:01 +000052
Naseer Ahmed99051282017-05-15 12:20:07 -040053}
54
55cc_library_headers {
Ashish Kumard0c64ec2019-02-07 19:46:21 +053056 name: "debug_headers",
Roger Liaoad88c9c2019-07-19 16:08:21 +080057 defaults: ["display_go_defaults"],
Ashish Kumard0c64ec2019-02-07 19:46:21 +053058 vendor: true,
59 export_include_dirs: [
60 "libdebug",
61 ],
62}
63
64cc_library_headers {
Naseer Ahmed99051282017-05-15 12:20:07 -040065 name: "display_headers",
Roger Liaoad88c9c2019-07-19 16:08:21 +080066 defaults: ["display_go_defaults"],
Uday Kiran Pichika5f306372018-08-02 16:22:15 -070067 vendor: true,
Naseer Ahmed99051282017-05-15 12:20:07 -040068 export_include_dirs: [
69 "include",
70 "libcopybit",
71 "libdrmutils",
72 "libqdutils",
73 "libqservice",
74 "gpu_tonemapper",
75 "sdm/include",
76 "gralloc",
Anjaneya Prasad Musunurie5756d32019-12-26 18:30:14 +053077 "libhistogram",
Naseer Ahmed99051282017-05-15 12:20:07 -040078 ],
Alix7cc16922022-04-18 03:55:01 +000079 header_libs: [
80 "libhardware_headers",
81 "//vendor/qcom/sm7250:display_intf_headers",
82 "debug_headers",
83 ],
84 export_header_lib_headers: [
85 "libhardware_headers",
86 "//vendor/qcom/sm7250:display_intf_headers",
87 "debug_headers",
88 ],
Uday Kiran Pichika69007162018-05-29 22:04:58 +053089}
90
Naseer Ahmed99051282017-05-15 12:20:07 -040091subdirs = [
92 "libqservice",
93 "libqdutils",
94]