Bob Badour | c2aa112 | 2021-02-12 14:21:12 -0800 | [diff] [blame] | 1 | // *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE |
| 2 | // CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE |
| 3 | // DEPENDING ON IT IN YOUR PROJECT. *** |
| 4 | package { |
| 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 |
| 27 | license { |
| 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 Cross | a7e3c5e | 2017-04-20 13:12:03 -0700 | [diff] [blame] | 51 | cc_library_headers { |
| 52 | name: "libFLAC-config", |
| 53 | export_include_dirs: ["."], |
Jiyong Park | 75e095d | 2017-08-07 13:14:02 +0900 | [diff] [blame] | 54 | vendor_available: true, |
Anuj Joshi | aafc008 | 2020-04-14 10:40:11 +0530 | [diff] [blame] | 55 | host_supported: true, |
| 56 | target: { |
| 57 | darwin: { |
| 58 | enabled: false, |
| 59 | }, |
| 60 | }, |
Jooyung Han | e60c9f6 | 2020-04-16 18:48:26 +0900 | [diff] [blame] | 61 | min_sdk_version: "29", |
Ray Essick | 68f9021b | 2022-01-26 14:07:38 -0800 | [diff] [blame] | 62 | apex_available: [ |
| 63 | "//apex_available:platform", |
| 64 | "com.android.media", |
| 65 | "com.android.media.swcodec", |
| 66 | "test_com.android.media.swcodec", |
| 67 | ], |
| 68 | |
Colin Cross | a7e3c5e | 2017-04-20 13:12:03 -0700 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | cc_library_headers { |
| 72 | name: "libFLAC-headers", |
| 73 | export_include_dirs: ["include"], |
Jiyong Park | 75e095d | 2017-08-07 13:14:02 +0900 | [diff] [blame] | 74 | vendor_available: true, |
Anuj Joshi | aafc008 | 2020-04-14 10:40:11 +0530 | [diff] [blame] | 75 | host_supported: true, |
| 76 | target: { |
| 77 | darwin: { |
| 78 | enabled: false, |
| 79 | }, |
| 80 | }, |
Jooyung Han | e60c9f6 | 2020-04-16 18:48:26 +0900 | [diff] [blame] | 81 | min_sdk_version: "29", |
Ray Essick | 68f9021b | 2022-01-26 14:07:38 -0800 | [diff] [blame] | 82 | apex_available: [ |
| 83 | "//apex_available:platform", |
| 84 | "com.android.media", |
| 85 | "com.android.media.swcodec", |
| 86 | "test_com.android.media.swcodec", |
| 87 | ], |
| 88 | |
Colin Cross | a7e3c5e | 2017-04-20 13:12:03 -0700 | [diff] [blame] | 89 | } |
| 90 | |
Harish Mahendrakar | ed3dc95 | 2020-07-19 16:22:58 -0700 | [diff] [blame] | 91 | subdirs = ["src/libFLAC"] |