aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-11 17:11:51 -0800
committerElliott Hughes <enh@google.com>2021-02-12 18:00:50 +0000
commit544d690cfe5d9a1a9a9e83d8d4076f51c5acfb59 (patch)
treeceacf84429b3351043f96a2d22fc132137fda1f5
parent8d1b285f94fd0c387bc0b2323749949c789c910e (diff)
downloadlibunwind-544d690cfe5d9a1a9a9e83d8d4076f51c5acfb59.tar.gz
Add LOCAL_LICENSE_KINDS to external/libunwindandroid-s-preview-1
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
-rw-r--r--Android.bp33
1 files changed, 17 insertions, 16 deletions
diff --git a/Android.bp b/Android.bp
index a0346b5d..f05a77b5 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,