aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-05 15:59:28 -0800
committerElliott Hughes <enh@google.com>2021-03-06 01:44:04 +0000
commitbe00cb16e41e480eb1c8661194080a0c25982750 (patch)
tree65cc8bb75106cd58b78ef321935000aa2851f8ce
parent670dd9b349695260cab8add93784d684928b18db (diff)
downloadlibpcap-be00cb16e41e480eb1c8661194080a0c25982750.tar.gz
Add LOCAL_LICENSE_KINDS to external/libpcap
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-ISC SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I2e5f1cf7ca2b8554d5a3bf24f2c0618ca33bf620
-rw-r--r--Android.bp31
1 files changed, 18 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index b00facb5..e3a7a1be 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,16 +1,21 @@
-// Copyright (C) 2018 The Android Open Source Project
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+package {
+ default_applicable_licenses: ["external_libpcap_license"],
+}
+
+license {
+ name: "external_libpcap_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-ISC",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ "NOTICE",
+ ],
+}
cc_defaults {
name: "libpcap_defaults",