From 9ba8ca347e65734d56c19e6a6e9ab9acfea53c4c Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Wed, 3 Feb 2021 22:32:10 -0800 Subject: [LSC] Add LOCAL_LICENSE_KINDS to external/lzma Added legacy_unencumbered to: Android.bp C/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I07eec80ffc467160f75c91cf33f953782fea35e5 --- Android.bp | 16 ++++++++++++++++ C/Android.bp | 7 +++++++ 2 files changed, 23 insertions(+) diff --git a/Android.bp b/Android.bp index 4a68eda..b1ffe6c 100644 --- a/Android.bp +++ b/Android.bp @@ -1,3 +1,19 @@ +package { + default_applicable_licenses: ["external_lzma_license"], +} + +// Added automatically by a large-scale-change +license { + name: "external_lzma_license", + visibility: [":__subpackages__"], + license_kinds: [ + "legacy_unencumbered", + ], + license_text: [ + "NOTICE", + ], +} + subdirs = [ "C", ] diff --git a/C/Android.bp b/C/Android.bp index 01978d6..4d6c5cf 100644 --- a/C/Android.bp +++ b/C/Android.bp @@ -1,5 +1,12 @@ // Copyright 2015 The Android Open Source Project +package { + // A large-scale-change added 'default_applicable_licenses' to import + // the below license kinds from "external_lzma_license": + // legacy_unencumbered + default_applicable_licenses: ["external_lzma_license"], +} + cc_library { name: "liblzma", host_supported: true, -- cgit v1.2.3