blob: 71406d83c86dc41b239a6e4d81d9573afb8172c2 [file] [log] [blame]
Bob Badourc2aa1122021-02-12 14:21:12 -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: ["external_flac_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//
22// large-scale-change included anything that looked like it might be a license
23// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
24//
25// Please consider removing redundant or irrelevant files from 'license_text:'.
26// See: http://go/android-license-faq
27license {
28 name: "external_flac_license",
29 visibility: [":__subpackages__"],
30 license_kinds: [
31 "SPDX-license-identifier-Apache-2.0",
32 "SPDX-license-identifier-BSD",
33 "SPDX-license-identifier-GFDL", // by exception only
34 "SPDX-license-identifier-GPL",
35 "SPDX-license-identifier-GPL-2.0",
36 "SPDX-license-identifier-LGPL",
37 "SPDX-license-identifier-LGPL-2.1",
38 "SPDX-license-identifier-LGPL-3.0",
39 "SPDX-license-identifier-MIT",
40 "legacy_unencumbered",
41 ],
42 license_text: [
43 "COPYING.FDL",
44 "COPYING.GPL",
45 "COPYING.LGPL",
46 "COPYING.Xiph",
47 "NOTICE",
48 ],
49}
50
Colin Crossa7e3c5e2017-04-20 13:12:03 -070051cc_library_headers {
52 name: "libFLAC-config",
53 export_include_dirs: ["."],
Jiyong Park75e095d2017-08-07 13:14:02 +090054 vendor_available: true,
Anuj Joshiaafc0082020-04-14 10:40:11 +053055 host_supported: true,
56 target: {
57 darwin: {
58 enabled: false,
59 },
60 },
Jooyung Hane60c9f62020-04-16 18:48:26 +090061 min_sdk_version: "29",
Ray Essick68f9021b2022-01-26 14:07:38 -080062 apex_available: [
63 "//apex_available:platform",
64 "com.android.media",
65 "com.android.media.swcodec",
66 "test_com.android.media.swcodec",
67 ],
68
Colin Crossa7e3c5e2017-04-20 13:12:03 -070069}
70
71cc_library_headers {
72 name: "libFLAC-headers",
73 export_include_dirs: ["include"],
Jiyong Park75e095d2017-08-07 13:14:02 +090074 vendor_available: true,
Anuj Joshiaafc0082020-04-14 10:40:11 +053075 host_supported: true,
76 target: {
77 darwin: {
78 enabled: false,
79 },
80 },
Jooyung Hane60c9f62020-04-16 18:48:26 +090081 min_sdk_version: "29",
Ray Essick68f9021b2022-01-26 14:07:38 -080082 apex_available: [
83 "//apex_available:platform",
84 "com.android.media",
85 "com.android.media.swcodec",
86 "test_com.android.media.swcodec",
87 ],
88
Colin Crossa7e3c5e2017-04-20 13:12:03 -070089}
90
Harish Mahendrakared3dc952020-07-19 16:22:58 -070091subdirs = ["src/libFLAC"]