diff options
author | Bob Badour <bbadour@google.com> | 2021-02-21 19:04:37 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-21 19:04:37 +0000 |
commit | 3e013ad5e4325c9a301ddde47e997bfd797167cd (patch) | |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | 1158cea581a32d9389fd34e3e93444b45aee8ebf (diff) | |
parent | 50d0b8b5dbe4252c5c2a669bf157a051d176ef8e (diff) | |
download | cffi-3e013ad5e4325c9a301ddde47e997bfd797167cd.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi am: 6ac53217be am: 032617dcaf am: 50d0b8b5dbandroid-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-mainline-12.0.0_r4android-mainline-12.0.0_r36android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devandroid12--mainline-releaseandroid-s-v2-preview-1
Original change: https://android-review.googlesource.com/c/platform/external/python/cffi/+/1588574
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia05b13eca60db733747a7a8203bb92c29b905c52
-rw-r--r-- | Android.bp | 31 | ||||
-rw-r--r-- | c/Android.bp | 11 | ||||
-rw-r--r-- | cffi/Android.bp | 9 |
3 files changed, 49 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..13f23dd --- /dev/null +++ b/Android.bp @@ -0,0 +1,31 @@ +// +// Copyright (C) 2021 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_python_cffi_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "external_python_cffi_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} diff --git a/c/Android.bp b/c/Android.bp index baced02..7ddc006 100644 --- a/c/Android.bp +++ b/c/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_python_cffi_license" + // to get the below license kinds: + // SPDX-license-identifier-MIT + default_applicable_licenses: ["external_python_cffi_license"], +} + python_library { name: "py-cffi-backend", host_supported: true, @@ -49,5 +58,3 @@ filegroup { ".libs_cffi_backend/libffi-45372312.so.6.0.4", ], } - - diff --git a/cffi/Android.bp b/cffi/Android.bp index e25787e..c600087 100644 --- a/cffi/Android.bp +++ b/cffi/Android.bp @@ -11,6 +11,15 @@ // 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 { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_python_cffi_license" + // to get the below license kinds: + // SPDX-license-identifier-MIT + default_applicable_licenses: ["external_python_cffi_license"], +} + python_library { name: "py-cffi", host_supported: true, |