diff options
author | Bob Badour <bbadour@google.com> | 2021-02-16 22:30:08 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-16 22:30:08 +0000 |
commit | f7fbb1fa1ccfc704be8800738f19a5616883990c (patch) | |
tree | a92e3842cc24b14914daa3553a859a6a31bc69aa | |
parent | f2bf2cda043433dd24e27dfea983e91a8d504ed3 (diff) | |
parent | 817e7745c0d8dec72502699468ac3e278cdc587a (diff) | |
download | boringssl-f7fbb1fa1ccfc704be8800738f19a5616883990c.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/boringssl am: b313bb5757 am: 749e091869 am: 0483175244 am: 817e7745c0
Original change: https://android-review.googlesource.com/c/platform/external/boringssl/+/1588701
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifd4d1ee663779f5a0dab7c673650234166825ea9
-rw-r--r-- | Android.bp | 31 | ||||
-rw-r--r-- | selftest/Android.bp | 9 |
2 files changed, 40 insertions, 0 deletions
@@ -4,6 +4,37 @@ package { default_visibility: ["//visibility:private"], + default_applicable_licenses: ["external_boringssl_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_boringssl_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-ISC", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-OpenSSL", + "legacy_unencumbered", + ], + license_text: [ + "NOTICE", + ], } // Pull in the autogenerated sources modules diff --git a/selftest/Android.bp b/selftest/Android.bp index 657994b9..013a128d 100644 --- a/selftest/Android.bp +++ b/selftest/Android.bp @@ -13,6 +13,15 @@ // 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_boringssl_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["external_boringssl_license"], +} + cc_defaults { name: "boringssl_self_test_defaults", compile_multilib: "both", |