Commit graph

23 commits

Author SHA1 Message Date
Joe Onorato
442b6fc701 Remove OWNERS access for non-build team people to core build system
Test: treehugger
Change-Id: I0c318ddd7d78110327bbd849ed9aa3973c86de5d
2023-02-28 19:29:47 -08:00
Bob Badour
801000e9c8 Add license kind for Linux-syscall-note
Only to be used in contexts confirmed by lawyers where the sycall note applies.

Test: m droid dist
Change-Id: I2fa6859307a471c169273ee70583e0b7331893ca
2022-12-07 12:42:51 -08:00
Bob Badour
07c034bf34 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
2022-11-30 09:34:51 -08:00
Bob Badour
5b3dd97a0a WTFPL reclassified permissive.
Test: m droid
Change-Id: I1f4074840f6a4dcc7093583552239a636a766b01
2022-11-04 12:03:30 -07:00
Bob Badour
83a0b8f480 Move restricted_allows_dynamic_linking into LGPL
Putting the specific condition into the license_kind simplifies the
logic and prepares for a future where licenseclassifier provides
conditions without license_kinds

Bug: 245562496

Test: m droid
Change-Id: I42c26fb3096b40767a68474ed712dbe55ed3f035
2022-10-28 12:07:20 -07:00
Bob Badour
59f0866ee8 Policy change: 0BSD and MIT-0 as permissive
See: http://cl/476482127

Bug: 248114738

Test: m droid dist
Change-Id: Icf370897aabaf30288fa8dab7204ab4d2c0aaeed
2022-09-23 16:29:34 -07:00
Bob Badour
4ea386ad4e Reclassify GPL+CE as permissive.
Bug: 210546823

Test: m cts dist
Change-Id: I5197cd1dc0d4a7f68d3fc6d9988976bc41ca4a28
2022-09-20 12:21:19 -07:00
Bob Badour
beb3f9a705 Add BSD-like binary-only license kind.
Test: m droid dist

Change-Id: I1508ae374a6764fcf3469f93584ba06839b43953
2022-07-25 18:38:23 -07:00
Bob Badour
45923719be Make the Apache 2.0 text available to packages.
It might be useful to associate other library names than "Android"
with the Apache 2.0 license text.

Test: m nothing
Change-Id: I3ccbd9ca77f330bb81bf2bf4ec53cfb873befe8b
2022-01-28 12:55:32 -08:00
Bob Badour
9a76f62f94 Remove header from Android-Apache-2.0 license text.
Test: m nothing
Change-Id: I9d59bfe19f3b38977eea4f636cdafe2d0c403600
2022-01-19 14:07:05 -08:00
Bob Badour
df6099d688 Fix CC-BY-ND licenses
Should be by_exception_only

Test: m nothing
Change-Id: Ic93eacfd7f85d2f86fe5cc8ff35cd1c51cfdb54a
2021-11-15 17:55:37 -08:00
Bob Badour
414719e915 Clean up package names.
Use license name unless package name is given.

Change the package name for the default android license to Android.

Test: m all
Change-Id: I0049b08fc4955a838e33c8bcfed104dbbf8ec7b1
2021-04-15 12:43:39 -07:00
Bob Badour
7a10530736 Change WTFPL and BeerWare to notice per recent change.
Test: m all
Change-Id: I5b5d0b1c6b3f67b35b8b3a7144f9433375a13a9e
2021-02-02 15:38:18 -08:00
Bob Badour
304fe7f197 Add APSL reciprocal licenses.
Test: m all

Bug: 151953481
Bug: 151177513
Bug: 67772237
Change-Id: Ia719741cb0dd3e5f8230f637c321c82377f022dc
2021-01-27 16:51:36 -08:00
Bob Badour
f34e441a6e Add license_kinds for CDDL
Occur frequently enough to automate for LSC.

See: http://go/android-license-checking-v2-lsc

Test: m all

Bug: 151953481
Bug: 151177513
Bug: 67772237

Change-Id: Ib13bb4653d4d30e9030d760d0c08be90e1f87c8c
2021-01-26 00:05:49 -08:00
Treehugger Robot
700730e69e Merge "Make me an OWNER of the licenses/ files." 2021-01-26 00:33:54 +00:00
Bob Badour
6047233455 Make me an OWNER of the licenses/ files.
Test: m nothing
Change-Id: I18a1a688af22f2718ae80cadc5824c1c5951d7a9
2021-01-25 14:07:31 -08:00
Bob Badour
7e3dbd9f70 Add NAC, 0BSD, FSFAP, GFDL, and MS-RL
These appear frequently enough as unknowns in the large-scale-change to
automate detection. Detecting GFDL also enables excluding the embedded
references to CC-BY-SA that are otherwise false positives.

The "Not a contribution" findings have special treatment for the lsc.

Test: m all

Bug: 151953481
Bug: 151177513
Bug: 67772237

Change-Id: I7f83d8a5ca94eadfcc8144c2225ce01232994d47
2021-01-24 19:14:16 +00:00
Bob Badour
b545c5f0af Run bpfmt
Test: m all
Change-Id: Ie30e3fb3289ec4e16b6c97b1958b3678e4760fbb
2021-01-23 22:54:43 +00:00
Bob Badour
73056ea9f8 Add legacy_permissive license kind.
Missed a license kind needed for the large-scale-change. It didn't turn
up in testing until all the --override and --filter flags were
determined.

See: http://go/android-license-checking-v2-lsc

Bug: 151953481
Bug: 151177513
Bug: 67772237

Change-Id: Ic6b5f11717e88504e09d4817e9952d3ed1132b93
2021-01-21 17:58:55 +00:00
Bob Badour
b80dfee900 Revert^2 "Define the standard license_kind rules."
cc49216079

Change-Id: Ib77341bec77a41715f9791e0f5385404deb2901a
2021-01-06 20:49:38 -08:00
Jerome Gaillard
cc49216079 Revert "Define the standard license_kind rules."
Revert submission 1377717-metalics

Reason for revert: This has broken renderscript_mac target for aosp-master, see b/176909442

Reverted Changes:
I26ac54ca9:Define the standard license_kind rules.
I656486070:Export soong license data to make.
If9d661dfc:Export soong license data to make.
I97943de53:Add ability to declare licenses in soong.
Icaff40171:Rough-in license metadata support to make.
Ib8e538bd0:Add variables for notice deps, license kinds etc.

Change-Id: Id0fc27abb9cfdb1415094615c47e5f784c9fc3fb
2021-01-06 19:00:05 +00:00
Bob Badour
13351b2c7d Define the standard license_kind rules.
See: http://go/android-license-checking-in-soong-v2-design

Bug: 151953481
Bug: 151177513
Bug: 67772237

Change-Id: I26ac54ca900b0c9697f92063ebb7b19fd4630251
2021-01-05 08:42:48 -08:00