From 684de700c14794b00b555cf37676e86cc54c95df Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Fri, 12 Feb 2021 16:31:13 -0800 Subject: Add LOCAL_LICENSE_KINDS to external/jemalloc Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-ISC SPDX-license-identifier-MIT legacy_unencumbered to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I9e02e32382b051b515563f41c670f4dd67fc2c84 --- Android.bp | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/Android.bp b/Android.bp index cea3a8d..253dbdc 100644 --- a/Android.bp +++ b/Android.bp @@ -1,18 +1,22 @@ -// -// 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. -// +package { + default_applicable_licenses: ["external_jemalloc_license"], +} + +license { + name: "external_jemalloc_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-ISC", + "SPDX-license-identifier-MIT", + "legacy_unencumbered", + ], + license_text: [ + "COPYING", + "NOTICE", + ], +} common_cflags = [ "-D_REENTRANT", -- cgit v1.2.3