diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 19:33:06 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 19:33:06 +0000 |
commit | 800d4ac514cf25d8184c35bb6d3beda62055479f (patch) | |
tree | 472e403263d45f4050916d81657bc30dd34a80d5 /third_party | |
parent | 45ea1db66e0895c2ad3aa6a71eba0ab75917d557 (diff) | |
download | chromium_src-800d4ac514cf25d8184c35bb6d3beda62055479f.zip chromium_src-800d4ac514cf25d8184c35bb6d3beda62055479f.tar.gz chromium_src-800d4ac514cf25d8184c35bb6d3beda62055479f.tar.bz2 |
Make licensecheck.pl understand the "GPL with bison expection" license. Whitelist it in checklicenses.py.
BUG=105232
TEST=checklicenses.py still passes.
Review URL: http://codereview.chromium.org/9113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rwxr-xr-x | third_party/devscripts/licensecheck.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl index 6b075e3..ab33045 100755 --- a/third_party/devscripts/licensecheck.pl +++ b/third_party/devscripts/licensecheck.pl @@ -533,6 +533,10 @@ sub parselicense($) { $license = "MIT/X11 (BSD like) $license"; } + if ($licensetext =~ /As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice/) { + $license = $license . "with Bison parser exception"; + } + $license = "UNKNOWN" if (!length($license)); return $license; |