From 07c034bf3458b4fdbfb9506d8e0efd1a9bdbe3a0 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Tue, 22 Nov 2022 12:07:29 -0800 Subject: [PATCH] Change condition to match go/thirdpartylicenses Policy uses restricted_if_statically_linked at https://opensource.google/documentation/reference/thirdparty/licenses#RestrictedIfStaticallyLinked Test: m droid Change-Id: I6eee52bef179b2a2b4257595e596652cfbdfef68 --- licenses/Android.bp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/licenses/Android.bp b/licenses/Android.bp index 54981e1c5..eabc3034a 100644 --- a/licenses/Android.bp +++ b/licenses/Android.bp @@ -839,84 +839,84 @@ license_kind { license_kind { name: "SPDX-license-identifier-LGPL", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], } license_kind { name: "SPDX-license-identifier-LGPL-2.0", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.0.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.0+", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.0+.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.0-only", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.0-only.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.0-or-later", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.0-or-later.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.1", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.1.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.1+", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.1+.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.1-only", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.1-only.html", } license_kind { name: "SPDX-license-identifier-LGPL-2.1-or-later", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-2.1-or-later.html", } license_kind { name: "SPDX-license-identifier-LGPL-3.0", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-3.0.html", } license_kind { name: "SPDX-license-identifier-LGPL-3.0+", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-3.0+.html", } license_kind { name: "SPDX-license-identifier-LGPL-3.0-only", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-3.0-only.html", } license_kind { name: "SPDX-license-identifier-LGPL-3.0-or-later", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPL-3.0-or-later.html", } license_kind { name: "SPDX-license-identifier-LGPLLR", - conditions: ["restricted_allows_dynamic_linking"], + conditions: ["restricted_if_statically_linked"], url: "https://spdx.org/licenses/LGPLLR.html", }