aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 17:22:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 17:22:13 +0000
commit0ef109412e0f4fa5acc200d7422ce19b1218c19c (patch)
tree4ebddc490b229a7fa48d6852af38e4a50d1fcff1
parentf9ff6549ccb99b82f4d7f5fdc7f03e9615d3952d (diff)
parent03ef70a58faf6a5db54ae9fcce8c1cf89c09fb0a (diff)
downloadlibcups-0ef109412e0f4fa5acc200d7422ce19b1218c19c.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libcups am: e77763dbe0 am: 9fdf58c9fc am: 03ef70a58f
Original change: https://android-review.googlesource.com/c/platform/external/libcups/+/1587910 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If00543b9d8219bd9ecd5695f31152ca51bc591b9
-rw-r--r--Android.bp46
1 files changed, 46 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 27f5dae4..1bdccae0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,52 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
+// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+// DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+ default_applicable_licenses: ["external_libcups_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// See: http://go/android-license-faq
+license {
+ name: "external_libcups_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-ISC",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-MIT",
+ "SPDX-license-identifier-Zlib",
+ "legacy_by_exception_only", // by exception only
+ ],
+ license_text: [
+ "LICENSE",
+ "NOTICE",
+ ],
+}
+
cc_library_shared {
name: "libcups",