diff options
author | Bob Badour <bbadour@google.com> | 2022-01-19 15:58:34 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2022-01-19 15:58:34 -0800 |
commit | cd61d36e00a0c355f2020a7e4a454e1790daf854 (patch) | |
tree | e8077b0c428682eab34b554abf9500a2c7a3cafb | |
parent | be7a1fef0dadf34c92c92baf6d762c6c42126aa7 (diff) | |
download | ims-cd61d36e00a0c355f2020a7e4a454e1790daf854.tar.gz |
Fix license text and licenses.
Extract BSD license text from source code. Rest is Android Apache 2.0
Test: m nothing
Change-Id: I6536f3c3b524c481cf696971083cc333a023f428
-rw-r--r-- | Android.bp | 29 | ||||
-rw-r--r-- | LICENSE_BSD | 26 |
2 files changed, 34 insertions, 21 deletions
@@ -13,31 +13,18 @@ // limitations under the License. package { - default_applicable_licenses: ["frameworks_opt_net_ims_license"], + // See: http://go/android-license-faq + default_applicable_licenses: [ + "frameworks_opt_net_ims_license", + "Android-Apache-2.0", + ], } -// 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: "frameworks_opt_net_ims_license", - visibility: [":__subpackages__"], - license_kinds: [ - "SPDX-license-identifier-Apache-2.0", - "SPDX-license-identifier-BSD", - ], - // large-scale-change unable to identify any license_text files + package_name: "Android IMS", + license_kinds: ["SPDX-license-identifier-BSD"], + license_text: ["LICENSE_BSD"], } java_library { diff --git a/LICENSE_BSD b/LICENSE_BSD new file mode 100644 index 00000000..47664b8a --- /dev/null +++ b/LICENSE_BSD @@ -0,0 +1,26 @@ + Copyright (c) 2014, The Linux Foundation. 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 Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + 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. |