aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-05 21:56:11 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-05 21:56:11 +0000
commitdc4c3622ce7d58df1c3db7078ab57b5037669018 (patch)
treefc796cd5c1ddbc49a71035c9a9ecb10201dcad4a
parentb33bef727e8a29b2fdcd869ac5450cce88142e9b (diff)
parent40aa18d91e4174068e43d8b7bd865239e1b37eed (diff)
downloadscapy-dc4c3622ce7d58df1c3db7078ab57b5037669018.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/scapy am: 17bfc66ac1 am: 40aa18d91e
Original change: https://android-review.googlesource.com/c/platform/external/scapy/+/1575938 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I90a02cfa8b36f2710d1f79be4b2663f028742e59
-rw-r--r--Android.bp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 38d1000a..438396ca 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,36 @@
+package {
+ default_applicable_licenses: ["external_scapy_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.
+// http://go/android-license-faq
+license {
+ name: "external_scapy_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-GPL-3.0",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
python_library {
name: "scapy",
srcs: [