aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-03-07 03:59:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-07 03:59:26 +0000
commite849476088e08606c1db96e39fca0217b551c508 (patch)
tree65cc8bb75106cd58b78ef321935000aa2851f8ce
parentf14df145ccb0347a28712700db9ddd3b697ede4f (diff)
parent21ac59f295fbbae6cb4a1701da2f4fbe0944467c (diff)
downloadlibpcap-e849476088e08606c1db96e39fca0217b551c508.tar.gz
Merge "Add LOCAL_LICENSE_KINDS to external/libpcap" am: b2567e7cc7 am: 3af923b260 am: 5256dd0161 am: 21ac59f295
Original change: https://android-review.googlesource.com/c/platform/external/libpcap/+/1621425 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8afc04cddb7bf4cfb320033547063cf9eaee6be8
-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",