Merge "Add LOCAL_LICENSE_KINDS to external/tcpdump" am: e3ebc5a485

Original change: https://android-review.googlesource.com/c/platform/external/tcpdump/+/1586029

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I949cae48b2e0da37f991651fe24265a6809fe528
diff --git a/Android.bp b/Android.bp
index 2eaeb65..ef93cb6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,16 +1,20 @@
-// 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_tcpdump_license"],
+}
+
+license {
+    name: "external_tcpdump_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-BSD",
+        "SPDX-license-identifier-BSD-4-Clause-UC",
+        "SPDX-license-identifier-ISC",
+        "SPDX-license-identifier-MIT",
+    ],
+    license_text: [
+        "LICENSE",
+    ],
+}
 
 cc_binary {
     name: "tcpdump",