aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-05 23:33:28 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-05 23:33:28 +0000
commit99c59914f26b59240d841b0b7f14153a7f830abe (patch)
treefc796cd5c1ddbc49a71035c9a9ecb10201dcad4a
parent89550b94d041bbaddc7ed93fee0b545401791f73 (diff)
parent3a3324cd5c66af8d39dfe899e244fff56c966c7b (diff)
downloadscapy-99c59914f26b59240d841b0b7f14153a7f830abe.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/scapy am: 17bfc66ac1 am: 40aa18d91e am: dc4c3622ce am: 3a3324cd5c
Original change: https://android-review.googlesource.com/c/platform/external/scapy/+/1575938 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia5439f43a006c2c69f7baf6aea25e925d4abc14f
-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: [