blob: 889e02fbd1de7ae022051c23d3c45b19231d6e88 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
2// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
3// DEPENDING ON IT IN YOUR PROJECT. ***
4package {
5 default_applicable_licenses: ["frameworks_av_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: "frameworks_av_license",
24 visibility: [":__subpackages__"],
25 license_kinds: [
26 "SPDX-license-identifier-Apache-2.0",
27 "SPDX-license-identifier-BSD",
28 "SPDX-license-identifier-MIT",
29 "SPDX-license-identifier-Unicode-DFS",
30 "legacy_by_exception_only", // by exception only
31 ],
32 license_text: [
33 "NOTICE",
34 ],
35}
36
Bob Badour5d0b79c2021-02-25 13:53:40 -080037cc_library_headers {
38 name: "av-headers",
39 export_include_dirs: ["include"],
40 static_libs: [
41 "av-types-aidl-cpp",
42 ],
43 export_static_lib_headers: [
44 "av-types-aidl-cpp",
45 ],
46 header_libs: [
Shunkai Yao4b574cf2022-12-14 04:27:19 +000047 "libaudio_aidl_conversion_common_util_cpp",
Bob Badour5d0b79c2021-02-25 13:53:40 -080048 ],
49 export_header_lib_headers: [
Shunkai Yao4b574cf2022-12-14 04:27:19 +000050 "libaudio_aidl_conversion_common_util_cpp",
Bob Badour5d0b79c2021-02-25 13:53:40 -080051 ],
52 host_supported: true,
53 vendor_available: true,
54 double_loadable: true,
55 min_sdk_version: "29",
56 apex_available: [
57 "//apex_available:platform",
William Escande5120ac52025-01-09 14:37:58 -080058 "com.android.bt",
Bob Badour5d0b79c2021-02-25 13:53:40 -080059 "com.android.media",
60 "com.android.media.swcodec",
61 ],
62 target: {
63 darwin: {
64 enabled: false,
65 },
66 },
67}