From 9d4352e5f59649dc2fa381234bf0a827e6601049 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Thu, 30 Mar 2023 07:17:27 -0700 Subject: [LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/protobuf-support Added SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: Ia1a36334ce647329ddf53c84cde2e18848d98556 --- Android.bp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Android.bp b/Android.bp index 678d57a..f63d309 100644 --- a/Android.bp +++ b/Android.bp @@ -3,6 +3,31 @@ +package { + default_applicable_licenses: [ + "external_rust_crates_protobuf-support_license", + ], +} + +// Added automatically by a large-scale-change +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// See: http://go/android-license-faq +license { + name: "external_rust_crates_protobuf-support_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + "LICENSE.txt", + ], +} + rust_library { name: "libprotobuf_support", host_supported: true, -- cgit v1.2.3