aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 19:43:56 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 19:43:56 +0000
commit0a7c3ab70cf1036088fb14171debdb13d640e906 (patch)
tree66ea024e880269f96944ce6d67c0a078b40f0d6a
parent44787692d65c62894a947f58ba3eb21d1162967d (diff)
parent3d7aa0578ae88bcacf2bd017d5254dd725ecde52 (diff)
downloadlibsrtp2-0a7c3ab70cf1036088fb14171debdb13d640e906.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libsrtp2 am: f39d4199d6 am: c75fd50df4 am: 3d7aa0578a
Original change: https://android-review.googlesource.com/c/platform/external/libsrtp2/+/1588161 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ied67bc761a923b50dc8203b1ea8d51432af26567
-rw-r--r--Android.bp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5b15dca..b3bc32c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,34 @@
+package {
+ default_applicable_licenses: ["external_libsrtp2_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_libsrtp2_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_library_static {
host_supported: true,
// vendor needed for libpreprocessing effects.