summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-01 19:48:45 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-01 19:48:45 +0000
commit367dcafc13c988c7e48de403eb685a105d9284f6 (patch)
treefd8f38f498cef1cae7a49055a4c6f4cfe612f6a0 /third_party
parentfc1b224b29072ecbf9b952370d7d815c8e591ae3 (diff)
downloadchromium_src-367dcafc13c988c7e48de403eb685a105d9284f6.zip
chromium_src-367dcafc13c988c7e48de403eb685a105d9284f6.tar.gz
chromium_src-367dcafc13c988c7e48de403eb685a105d9284f6.tar.bz2
Add a check for GPL licenses with the libtool exception.
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10831099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rwxr-xr-xthird_party/devscripts/licensecheck.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index 4e75716..98304356 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -538,6 +538,10 @@ sub parselicense($) {
$license = $license . "with Bison parser exception";
}
+ if ($licensetext =~ /As a special exception to the GNU General Public License, if you distribute this file as part of a program or library that is built using GNU Libtool, you may include this file under the same distribution terms that you use for the rest of that program/) {
+ $license = $license . "with libtool exception";
+ }
+
$license = "UNKNOWN" if (!length($license));
return $license;