aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 23:17:48 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 23:17:48 +0000
commit4668240e2903c1ddf02c3e815ea3774892ede52d (patch)
tree9c1309dc93abbbf017bd3fd4a775274e07d95872
parentd866ad794a98d9bb2cb56abd557ecc2348bd82ff (diff)
parent2a212550ff3f1cc7c9c1ab618f3bde4c7f92b47b (diff)
downloadfec-4668240e2903c1ddf02c3e815ea3774892ede52d.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/fec am: 8ceea43846 am: 391a060f8c am: b85faa1439 am: 2a212550ff
Original change: https://android-review.googlesource.com/c/platform/external/fec/+/1588905 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3c2c1acba0853049d804008cf23f17ca73d1335a
-rw-r--r--Android.bp34
1 files changed, 34 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4c930e0..9966bd9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,39 @@
// Copyright 2017 The Android Open Source Project
+package {
+ default_applicable_licenses: ["external_fec_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.
+// See: http://go/android-license-faq
+license {
+ name: "external_fec_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-ISC",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-LGPL-2.1",
+ "SPDX-license-identifier-LGPL-3.0",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_library {
name: "libfec_rs",
host_supported: true,