Add LOCAL_LICENSE_KINDS to external/libunwind

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I3d58148e2f876769613d2e24eb3f64dec793fe22
diff --git a/Android.bp b/Android.bp
index a0346b5..f05a77b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,24 +1,25 @@
-//
-// Copyright (C) 2014 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.
-//
-
 // Set to true to enable a debug build of the libraries.
 // To control what is logged, set the environment variable UNW_DEBUG_LEVEL=x,
 // where x controls the verbosity (from 1 to 20).
 //libunwind_debug = false
 
+package {
+    default_applicable_licenses: ["external_libunwind_license"],
+}
+
+license {
+    name: "external_libunwind_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-Apache-2.0",
+        "SPDX-license-identifier-MIT",
+    ],
+    license_text: [
+        "COPYING",
+        "LICENSE",
+    ],
+}
+
 cc_defaults {
     name: "libunwind_defaults",
     host_supported: true,