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