aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2021-03-04 00:38:26 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2021-03-04 00:38:26 +0000
commit647d55ec03e195413a65eabb4899f58ee33e94e7 (patch)
treeceacf84429b3351043f96a2d22fc132137fda1f5
parent292116b71681d3fed58b6c9862ba7c754cfbad7e (diff)
parentc922376645c2938ccb22a39731505553add06983 (diff)
downloadlibunwind-sdk-release.tar.gz
Snap for 7183507 from c922376645c2938ccb22a39731505553add06983 to sdk-releaseplatform-tools-31.0.2platform-tools-31.0.1sdk-release
Change-Id: I6b8733735b075c39a4fb2157b818b24db40c2083
-rw-r--r--Android.bp37
1 files changed, 21 insertions, 16 deletions
diff --git a/Android.bp b/Android.bp
index cfb05bc0..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,
@@ -406,6 +407,10 @@ cc_test {
local_include_dirs: ["include"],
shared_libs: ["libunwind_shared"],
+ data: [":libunwind_shared"],
+ test_options: {
+ unit_test: true,
+ },
}
/*