Roger Liao | ad88c9c | 2019-07-19 16:08:21 +0800 | [diff] [blame] | 1 | soong_namespace { |
| 2 | } |
| 3 | |
Bob Badour | d010e07 | 2021-02-12 16:30:20 -0800 | [diff] [blame] | 4 | package { |
| 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 |
| 22 | license { |
| 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 Liao | ad88c9c | 2019-07-19 16:08:21 +0800 | [diff] [blame] | 33 | display_go_defaults_sm7250 { |
| 34 | name: "display_go_defaults", |
| 35 | } |
| 36 | |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 37 | cc_defaults { |
| 38 | name: "display_defaults", |
Roger Liao | ad88c9c | 2019-07-19 16:08:21 +0800 | [diff] [blame] | 39 | defaults: ["display_go_defaults"], |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 40 | cflags: [ |
| 41 | "-Wno-missing-field-initializers", |
| 42 | "-Wconversion", |
| 43 | "-Wall", |
| 44 | "-Werror", |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 45 | ], |
| 46 | shared_libs: [ |
| 47 | "liblog", |
| 48 | "libcutils", |
| 49 | "libutils", |
| 50 | ], |
| 51 | header_libs: ["display_headers"], |
Alix | 7cc1692 | 2022-04-18 03:55:01 +0000 | [diff] [blame] | 52 | |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | cc_library_headers { |
Ashish Kumar | d0c64ec | 2019-02-07 19:46:21 +0530 | [diff] [blame] | 56 | name: "debug_headers", |
Roger Liao | ad88c9c | 2019-07-19 16:08:21 +0800 | [diff] [blame] | 57 | defaults: ["display_go_defaults"], |
Ashish Kumar | d0c64ec | 2019-02-07 19:46:21 +0530 | [diff] [blame] | 58 | vendor: true, |
| 59 | export_include_dirs: [ |
| 60 | "libdebug", |
| 61 | ], |
| 62 | } |
| 63 | |
| 64 | cc_library_headers { |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 65 | name: "display_headers", |
Roger Liao | ad88c9c | 2019-07-19 16:08:21 +0800 | [diff] [blame] | 66 | defaults: ["display_go_defaults"], |
Uday Kiran Pichika | 5f30637 | 2018-08-02 16:22:15 -0700 | [diff] [blame] | 67 | vendor: true, |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 68 | export_include_dirs: [ |
| 69 | "include", |
| 70 | "libcopybit", |
| 71 | "libdrmutils", |
| 72 | "libqdutils", |
| 73 | "libqservice", |
| 74 | "gpu_tonemapper", |
| 75 | "sdm/include", |
| 76 | "gralloc", |
Anjaneya Prasad Musunuri | e5756d3 | 2019-12-26 18:30:14 +0530 | [diff] [blame] | 77 | "libhistogram", |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 78 | ], |
Alix | 7cc1692 | 2022-04-18 03:55:01 +0000 | [diff] [blame] | 79 | 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 Pichika | 6900716 | 2018-05-29 22:04:58 +0530 | [diff] [blame] | 89 | } |
| 90 | |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 91 | subdirs = [ |
| 92 | "libqservice", |
| 93 | "libqdutils", |
| 94 | ] |