diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-15 01:32:56 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-15 01:32:56 +0000 |
commit | 7148c676654de2193433eeb46dca2136fd6ad266 (patch) | |
tree | 8b90af24b050e079b876d4bbe83a5ac8e2144634 | |
parent | edb5967727e565ba994e9c5ab8e5fd7b422e487a (diff) | |
parent | d1251a8f368ffb7f11e22b366d4b3b23f10299ce (diff) | |
download | ply-7148c676654de2193433eeb46dca2136fd6ad266.tar.gz |
Snap for 7550844 from d1251a8f368ffb7f11e22b366d4b3b23f10299ce to mainline-os-statsd-releaseandroid-mainline-12.0.0_r84android-mainline-12.0.0_r58android12-mainline-statsd-release
Change-Id: I618b07ed9a53a1607d6225a287b5cfd71c39f562
-rw-r--r-- | Android.bp | 44 | ||||
-rw-r--r-- | METADATA | 2 | ||||
-rw-r--r-- | NOTICE | 30 | ||||
-rw-r--r-- | ply/Android.bp | 11 |
4 files changed, 55 insertions, 32 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..c714747 --- /dev/null +++ b/Android.bp @@ -0,0 +1,44 @@ +// +// 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_ply_license"], +} + +// Added automatically by a large-scale-change that took the approach of +// 'apply every license found to every target'. While this makes sure we respect +// every license restriction, it may not be entirely correct. +// +// e.g. GPL in an MIT project might only apply to the contrib/ directory. +// +// Please consider splitting the single license below into multiple licenses, +// taking care not to lose any license_kind information, and overriding the +// default license using the 'licenses: [...]' property on targets as needed. +// +// For unused files, consider creating a 'fileGroup' with "//visibility:private" +// to attach the license to, and including a comment whether the files may be +// used in the current project. +// See: http://go/android-license-faq +license { + name: "external_ply_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "legacy_unencumbered", + ], + license_text: [ + "LICENSE", + ], +} @@ -13,6 +13,6 @@ third_party { } version: "3.11" last_upgrade_date { year: 2018 month: 05 day: 22 } - license_type: PERMISSIVE + license_type: NOTICE } @@ -1,30 +0,0 @@ -PLY (Python Lex-Yacc) Version 3.10 - -Copyright (C) 2001-2017 -David M. Beazley (Dabeaz LLC) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of the David Beazley or Dabeaz LLC may be used to - endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/ply/Android.bp b/ply/Android.bp index b9ef876..aabd500 100644 --- a/ply/Android.bp +++ b/ply/Android.bp @@ -12,6 +12,16 @@ // 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_ply_license" + // to get the below license kinds: + // SPDX-license-identifier-BSD + // legacy_unencumbered + default_applicable_licenses: ["external_ply_license"], +} + python_library { name: "py-ply", host_supported: true, @@ -27,4 +37,3 @@ python_library { }, }, } - |