From fcb617891482ccf704e6d9442e4b7eed886fdb57 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 18 Dec 2024 20:22:35 -0800 Subject: [PATCH] Adding notice (and less restrictive) licenses to ALLOWED_SPDX_LICENSES These are the licenses that are currently in chromium and are 'unencumbered', 'permissive', or 'notice' licenses Change-Id: I40281cdb2e8b7e1af7a06e0ff234e2005903d8c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6055002 Reviewed-by: Jordan Brown Reviewed-by: Rachael Newitt Commit-Queue: Jordan Brown --- metadata/fields/custom/license_allowlist.py | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/metadata/fields/custom/license_allowlist.py b/metadata/fields/custom/license_allowlist.py index d0ad644c3b..0a43995ed9 100644 --- a/metadata/fields/custom/license_allowlist.py +++ b/metadata/fields/custom/license_allowlist.py @@ -11,24 +11,47 @@ ALLOWED_SPDX_LICENSES = frozenset([ # other_ignorable. "LZMA-SDK-9.22", + # unencumbered. + "CC0-1.0", + "Unlicense", + "blessing", # permissive. + "GPL-2.0-with-autoconf-exception", "GPL-2.0-with-classpath-exception", + "GPL-3.0-with-autoconf-exception", "MIT-0", # notice. + "AML", "Apache-2.0", + "Artistic-2.0", "BSD-2-Clause", "BSD-2-Clause-FreeBSD", "BSD-3-Clause", + "BSD-3-Clause-Attribution", "BSD-4-Clause", "BSD-4-Clause-UC", + "BSD-4.3TAHOE", "BSD-Source-Code", "BSL-1.0", + "Beerware", + "CC-BY-3.0", + "CC-BY-4.0", + "FTL", + "HPND", + "HPND-sell-variant", "ICU", + "IJG", + "ISC", + "JSON", + "Libpng", "ISC", "MIT", "MIT-Modern-Variant", + "MS-PL", + "NAIST-2003", "NCSA", "OFL-1.1", + "OpenSSL", "SGI-B-2.0", "SunPro", "Unicode-3.0", @@ -36,6 +59,7 @@ ALLOWED_SPDX_LICENSES = frozenset([ "Unicode-DFS-2016", "X11", "Zlib", + "libtiff", # reciprocal. TODO(b/385020146): Only allow for opensource projects. "APSL-2.0", "MPL-1.1",