Bob Badour | 57866d0 | 2021-02-03 23:57:45 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_selinux_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change that took the approach of |
| 6 | // 'apply every license found to every target'. While this makes sure we respect |
| 7 | // every license restriction, it may not be entirely correct. |
| 8 | // |
| 9 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 10 | // |
| 11 | // Please consider splitting the single license below into multiple licenses, |
| 12 | // taking care not to lose any license_kind information, and overriding the |
| 13 | // default license using the 'licenses: [...]' property on targets as needed. |
| 14 | // |
| 15 | // For unused files, consider creating a 'filegroup' with "//visibility:private" |
| 16 | // to attach the license to, and including a comment whether the files may be |
| 17 | // used in the current project. |
| 18 | // http://go/android-license-faq |
| 19 | license { |
| 20 | name: "external_selinux_license", |
| 21 | visibility: [":__subpackages__"], |
| 22 | license_kinds: [ |
| 23 | "SPDX-license-identifier-Apache-2.0", |
| 24 | "SPDX-license-identifier-BSD", |
| 25 | "SPDX-license-identifier-GPL", |
| 26 | "SPDX-license-identifier-GPL-2.0", |
| 27 | "SPDX-license-identifier-LGPL", |
| 28 | "SPDX-license-identifier-LGPL-2.1", |
| 29 | "SPDX-license-identifier-LGPL-3.0", |
| 30 | "SPDX-license-identifier-Zlib", |
| 31 | "legacy_unencumbered", |
| 32 | ], |
| 33 | license_text: [ |
| 34 | "NOTICE", |
| 35 | ], |
| 36 | } |
| 37 | |
Jeff Vander Stoep | a762060 | 2017-05-08 17:06:33 -0700 | [diff] [blame] | 38 | subdirs = [ |
Jeff Vander Stoep | c158e00 | 2017-05-08 22:22:17 -0700 | [diff] [blame] | 39 | "checkpolicy", |
Jeff Vander Stoep | a762060 | 2017-05-08 17:06:33 -0700 | [diff] [blame] | 40 | "libselinux", |
| 41 | "libsepol", |
Jeff Vander Stoep | dfb7841 | 2017-05-08 23:05:06 -0700 | [diff] [blame] | 42 | "secilc", |
Jeff Vander Stoep | a762060 | 2017-05-08 17:06:33 -0700 | [diff] [blame] | 43 | ] |