aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 18:48:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 18:48:55 +0000
commit3d7aa0578ae88bcacf2bd017d5254dd725ecde52 (patch)
tree66ea024e880269f96944ce6d67c0a078b40f0d6a
parent062badd57aeb02b0b32ce2983fa21db42720e31f (diff)
parentc75fd50df47828d35625424351c390fbf10aa8d8 (diff)
downloadlibsrtp2-3d7aa0578ae88bcacf2bd017d5254dd725ecde52.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libsrtp2 am: f39d4199d6 am: c75fd50df4
Original change: https://android-review.googlesource.com/c/platform/external/libsrtp2/+/1588161 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7749bc52efb2803ca298aca180fa460e26f9c35e
-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.