summaryrefslogtreecommitdiffstats
path: root/tools/licenses.py
Commit message (Collapse)AuthorAgeFilesLines
* Use proper directory name for pdfiumjam@chromium.org2014-05-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271455 0039d316-1c4b-4281-b951-d872f2087c98
* Bring in pdfium code into third_party/pdfium.jam@chromium.org2014-05-191-0/+5
| | | | | | | | R=brettw@chromium.org Review URL: https://codereview.chromium.org/284203012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271449 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 267768 "Move Web Page Replay dep to github."flackr@chromium.org2014-05-021-1/+1
| | | | | | | | | | | | | | | | Broke cros builders, see http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21491 and filed http://crbug.com/369563 > Move Web Page Replay dep to github. > > TBR=slamm@chromium.org > BUG= > > Review URL: https://codereview.chromium.org/260513003 TBR=tonyg@chromium.org Review URL: https://codereview.chromium.org/269543019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267892 0039d316-1c4b-4281-b951-d872f2087c98
* Move Web Page Replay dep to github.tonyg@chromium.org2014-05-021-1/+1
| | | | | | | | | TBR=slamm@chromium.org BUG= Review URL: https://codereview.chromium.org/260513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267768 0039d316-1c4b-4281-b951-d872f2087c98
* Remove third_party\python_26.maruel@chromium.org2014-01-141-1/+0
| | | | | | | | | | | | The last user was ChromeFrame (recently removed) and pyauto. I do not believe pyauto_functional.py is still used. R=thakis@chromium.org BUG= Review URL: https://codereview.chromium.org/137023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244676 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes duplicate listing of third party libraries in creditsjohannesa@opera.com2013-12-191-3/+3
| | | | | | | | | | | | | The party license generator can return duplicate paths when a path is both defined in ADDITIONAL_PATHS and found through the recursive scan. This patch makes sure an additional path is not reported multiple times if it has already been found. BUG=329448 Review URL: https://codereview.chromium.org/114723009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241834 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ui_cocoa_third_party_toolkits target from ui.gyptfarina@chromium.org2013-12-181-6/+0
| | | | | | | | | | | | | | | Instead we add a gyp file in third_party/google_toolbox_for_mac to build the sources from third_party/GTM. This is the third and last patch in this series. BUG=299841 TEST=None R=mark@chromium.org,ben@chromium.org TBR=ben Review URL: https://codereview.chromium.org/107933006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241471 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant/misleaing README.chromium files.sbc@chromium.org2013-11-071-2/+0
| | | | | | | | | | | | | | These files are a legacy from when the native_client_sdk and ppapi were DEPS'd in from an external repos rather than being part of chromium. Second attempt at landing this change. > Initial: https://codereview.chromium.org/54983002 > Revert: https://codereview.chromium.org/55983003 Review URL: https://codereview.chromium.org/54673014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233658 0039d316-1c4b-4281-b951-d872f2087c98
* Use swarming_client instead of swarm_client.maruel@chromium.org2013-10-311-1/+1
| | | | | | | | | | | | | Modify all the references to use src/tools/swarming_client/. The build scripts already support both. R=csharp@chromium.org, torne@chromium.org BUG= Review URL: https://codereview.chromium.org/29993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232104 0039d316-1c4b-4281-b951-d872f2087c98
* remove sandbox/linux/seccomp-legacy references from licenses.pymostynb@opera.com2013-10-151-6/+0
| | | | | | | | | sandbox/linux/seccomp-legacy no longer exists in the tree, so let's remove references to it from the license documentation generation script. Review URL: https://codereview.chromium.org/27195007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228592 0039d316-1c4b-4281-b951-d872f2087c98
* The right way to roll in swarm_clientmnaganov@chromium.org2013-08-281-0/+1
| | | | | | | | BUG=277785 Review URL: https://chromiumcodereview.appspot.com/23200008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219996 0039d316-1c4b-4281-b951-d872f2087c98
* Stop pulling googleurl through DEPS.tfarina@chromium.org2013-08-121-7/+1
| | | | | | | | | | | | | This is the final patch in this series of merging the external googleurl repo into Chromium source code base. BUG=229660 R=brettw@chromium.org,joth@chromium.org,blundell@chromium.org,thakis@chromium.org,thestig@chromium.org TBR=brettw Review URL: https://chromiumcodereview.appspot.com/20349002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216922 0039d316-1c4b-4281-b951-d872f2087c98
* Make licenses.py ignore tools/gn since it's just a build tool and won't ship ↵jam@chromium.org2013-07-301-0/+1
| | | | | | | | | | with the product. TBR=brettw Review URL: https://codereview.chromium.org/21185002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214275 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 208534 "Revert "Revert 208509 "Prevent more licenses.py r..."akalin@chromium.org2013-06-251-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Revert "Revert 208509 "Prevent more licenses.py regressions."" > > > This breaks local builds. > > > > > Prevent more licenses.py regressions. > > > > > > This will allow me to fix the existing ones without > > > people adding even more. > > > > > > BUG=39240 > > > R=thestig@chromium.org > > > > > > Review URL: https://codereview.chromium.org/17247005 > > > > TBR=phajdan.jr@chromium.org > > > > Review URL: https://codereview.chromium.org/17711002 > > BUG=39240 > > Review URL: https://codereview.chromium.org/17724002 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/17751004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208565 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 208509 "Prevent more licenses.py regressions.""phajdan.jr@chromium.org2013-06-251-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | > This breaks local builds. > > > Prevent more licenses.py regressions. > > > > This will allow me to fix the existing ones without > > people adding even more. > > > > BUG=39240 > > R=thestig@chromium.org > > > > Review URL: https://codereview.chromium.org/17247005 > > TBR=phajdan.jr@chromium.org > > Review URL: https://codereview.chromium.org/17711002 BUG=39240 Review URL: https://codereview.chromium.org/17724002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208534 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 208509 "Prevent more licenses.py regressions."akalin@chromium.org2013-06-251-43/+2
| | | | | | | | | | | | | | | | | | | | This breaks local builds. > Prevent more licenses.py regressions. > > This will allow me to fix the existing ones without > people adding even more. > > BUG=39240 > R=thestig@chromium.org > > Review URL: https://codereview.chromium.org/17247005 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/17711002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208521 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent more licenses.py regressions.phajdan.jr@chromium.org2013-06-251-2/+43
| | | | | | | | | | | | This will allow me to fix the existing ones without people adding even more. BUG=39240 R=thestig@chromium.org Review URL: https://codereview.chromium.org/17247005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208509 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tools/licenses.py to better prune directories that are empty except for ↵thestig@chromium.org2013-05-141-4/+8
| | | | | | | | VCS metadata. Review URL: https://chromiumcodereview.appspot.com/14949016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200102 0039d316-1c4b-4281-b951-d872f2087c98
* Make licenses.py silentphajdan.jr@chromium.org2013-02-091-4/+1
| | | | | | | | | BUG=174930 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12207078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181625 0039d316-1c4b-4281-b951-d872f2087c98
* Generate about:credits page automatically at build time.phajdan.jr@chromium.org2013-02-071-7/+19
| | | | | | | | | | This uses tools/licenses.py internally. BUG=160424 Review URL: https://codereview.chromium.org/12177010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181293 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Generate about:credits page automatically at build time."phajdan.jr@chromium.org2013-02-041-19/+7
| | | | | | | | | | Suspected errors resulting from grit roll. BUG=160424 Review URL: https://codereview.chromium.org/12192018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180403 0039d316-1c4b-4281-b951-d872f2087c98
* Generate about:credits page automatically at build time.phajdan.jr@chromium.org2013-02-041-7/+19
| | | | | | | | | | | | | This uses tools/licenses.py internally. Also rolls grit DEPS for https://codereview.chromium.org/12090119/ and removes checked-in about_credits.html . BUG=160424 Review URL: https://codereview.chromium.org/12177010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180394 0039d316-1c4b-4281-b951-d872f2087c98
* Update about_credits.htmlsergeyu@chromium.org2012-11-291-6/+31
| | | | | | | | BUG=162673 Review URL: https://codereview.chromium.org/11414167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170273 0039d316-1c4b-4281-b951-d872f2087c98
* Roll v8-i18n r155:157 and update license metadata.torne@chromium.org2012-11-121-5/+1
| | | | | | | | | | | | | Pick up LICENSE file update in r157 and update license tool metadata to match. BUG=160221 TBR=cira@chromium.org Review URL: https://chromiumcodereview.appspot.com/11369182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167171 0039d316-1c4b-4281-b951-d872f2087c98
* Mark v8-i18n's license as being android compatible.torne@chromium.org2012-11-091-0/+4
| | | | | | | | | | | | The actual repository contains only Apache 2.0 code which is fine for Android. This is a temporary workaround until the license text can be fixed for real. BUG=160221 Review URL: https://codereview.chromium.org/11312164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166917 0039d316-1c4b-4281-b951-d872f2087c98
* Add Widevine CDM plugin build files.ddorwin@chromium.org2012-10-061-0/+3
| | | | | | | | BUG=149772 Review URL: https://chromiumcodereview.appspot.com/10981012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160583 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on cwd in license tool.torne@chromium.org2012-10-051-24/+28
| | | | | | | | | | | | | | | | Allow tools/licenses.py to work even if the current working directory is not the source repository root (though the current working directory is still the default when it's run as a standalone tool). Update the android_webview license checker to pass the repository root instead of requiring that the cwd be the right place. R=mnaganov@chromium.org,thakis@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11031069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160412 0039d316-1c4b-4281-b951-d872f2087c98
* Import pywebsocket as third_party/pywebsockettoyoshim@chromium.org2012-08-211-0/+1
| | | | | | | | | | BUG=137639 TEST=none Review URL: https://chromiumcodereview.appspot.com/10857052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152485 0039d316-1c4b-4281-b951-d872f2087c98
* Make checking the existence of the license file optional in the license toolsteveblock@chromium.org2012-08-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | This is useful in situations where a checkout excludes some DEPS directories. In this case, a checkout may include the README.chromium file for a particular third-party project, but not the license file to which it refers. This change adds a new require_license_file argument to licenses.ParseDir(), with a default value of true. When true, there is no change in behaviour and if the license file is missing, an exception is raised. When false, if the license file is missing, we simply set the value of the 'License File' field of the returned metadata to None. This change also makes use of the new feature in webview_licenses.GetIncompatibleDirectories() and webview_licenses.GenerateNoticeFile(). BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152091 0039d316-1c4b-4281-b951-d872f2087c98
* Fix V8 project name in the license checker.mnaganov@chromium.org2012-08-161-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10824332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151887 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function to provide the list of third-party directories which are ↵steveblock@chromium.org2012-08-141-1/+2
| | | | | | | | | | | | | | incompatible with Android. For most directories, we use a regex of whitelisted licenses to parse the 'License' field from the metadata. In some case, for example, where a custom license is used, we rely on a new 'Android Compatibility' field. This functionality will be used by the snapshot tool, which will exclude these incompatible directories from the snapshot in the Android tree. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151462 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tool to check license compatibility with Androidsteveblock@chromium.org2012-08-091-5/+5
| | | | | | | | | | This tool checks all third-party code used on Android, for the purposes of the Android WebView build. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10816041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150904 0039d316-1c4b-4281-b951-d872f2087c98
* Update license tool to check several additional directoriessteveblock@chromium.org2012-08-091-36/+83
| | | | | | | | | | | | | | | | Some of these directories are currently excluded from the license check. This change fixes the metadata where required and removes them from PRUNE_PATHS. Other directories contain third-party code, but aren't in directories named 'third-party', so aren't checked by the license tool by default. This change fixes the metadata where required and adds them to ADDITIONAL_PATHS. To avoid adding to about:credits licenses for modules that don't ship as part of the product, this change also introduces a special 'NOT_SHIPPED' value for the 'License File' field. This will simplify the process of adding a tool to check license compatibility for the Android WebView build. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10830201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150800 0039d316-1c4b-4281-b951-d872f2087c98
* Remove superfluous pruned paths from license toolsteveblock@chromium.org2012-08-071-11/+2
| | | | | | | | | | | | These paths either no longer exist on any platform, or don't cause license errors. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10843069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150328 0039d316-1c4b-4281-b951-d872f2087c98
* Add license metadata for fuzzymatchsteveblock@chromium.org2012-08-061-3/+0
| | | | | | | | BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10824164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150084 0039d316-1c4b-4281-b951-d872f2087c98
* Fix license metadata for ppapisteveblock@chromium.org2012-08-021-0/+1
| | | | | | | | | | | | | | | Currently, the license file mentions only the BSD license, but some of the code in lib/ seems to use an MIT license. Also include this directory in the list of extra directories scanned by the license tool. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10828117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149700 0039d316-1c4b-4281-b951-d872f2087c98
* Make 'License' field in third-party metadata requiredsteveblock@chromium.org2012-08-011-0/+6
| | | | | | | | | | | | | | | | This will simplify the addition of a tool to check licenses for the purpose of the Android WebView build. See also http://codereview.chromium.org/10827099 Also adds other missing fields to these README.chromium files as required by presubmit checks and fixes a regex used to enforce this. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10821103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149423 0039d316-1c4b-4281-b951-d872f2087c98
* Fix third-party license information for a number of projectssteveblock@chromium.org2012-07-271-17/+60
| | | | | | | | | | | | | | | | | | | | | | Also fix a couple of bugs in the license tool. - When scanning, ignore directories that don't contain any files, on the assumption that these are DEPS directories for projects not used by our current configuration. - Don't recurse into directories in ADDITIONAL_PATHS, just as we don't for regular third_party/foo directories. Notes - License file for third_party/mozc was taken from source header. - LICENSE.chromium_os was copied from Chromium OS source tree. This fixes 'licenses.py scan' for an Android checkout. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148693 0039d316-1c4b-4281-b951-d872f2087c98
* Remove pywebsocket special entry from licenses.pytoyoshim@chromium.org2012-06-181-4/+0
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10536166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142676 0039d316-1c4b-4281-b951-d872f2087c98
* Add a special-case entry to the license checker for third_party/v8-i18nsteveblock@chromium.org2012-03-191-0/+4
| | | | | | | | | | | | Also roll DEPS for this project to pick up the newly added LICENSE file. This fixes 'tools/licenses.py scan' for this directory. See http://code.google.com/p/v8-i18n/source/detail?r=31 and http://code.google.com/p/v8-i18n/source/detail?r=32. Review URL: https://chromiumcodereview.appspot.com/9639009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127455 0039d316-1c4b-4281-b951-d872f2087c98
* Fix licensing information for googleurl/steveblock@chromium.org2012-03-091-1/+8
| | | | | | | | | | | Add googleurl/ to the list of additional paths in the license tool, so its license gets added to about:credits. Also add a special-case for this entry to point to the license file. Review URL: http://codereview.chromium.org/9638019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125838 0039d316-1c4b-4281-b951-d872f2087c98
* Move third_party/android/testrunner to third_party/android_testrunnersteveblock@chromium.org2012-03-071-0/+1
| | | | | | | | | | | | | | | | The original intent was to have multiple subdirectories under third_party/android/, but the need for these has not arisen and it potentially adds complexity. Also update the license checker tool to prune this directory, as the code is used only for testing. 'tools/licenses.py scan | grep android' See http://codereview.chromium.org/8322008. Review URL: http://codereview.chromium.org/9622010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125451 0039d316-1c4b-4281-b951-d872f2087c98
* linux: use an in-tree copy of gold by defaultevan@chromium.org2012-02-031-0/+1
| | | | | | | | | | | | (Reland of r120385 with newer third_party/gold.) Rather than forcing everyone to configure their search paths etc. we should just make this work by default. You can set the gyp variable linux_use_gold_binary=0 to turn it off. Review URL: https://chromiumcodereview.appspot.com/9316002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120424 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120385 - linux: use an in-tree copy of gold by defaulttim@chromium.org2012-02-031-1/+0
| | | | | | | | | | | | | | | Rather than forcing everyone to configure their search paths etc. we should just make this work by default. You can set the gyp variable linux_use_gold_binary=0 to turn it off. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120356 Review URL: https://chromiumcodereview.appspot.com/9316002 TBR=evan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9328004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120397 0039d316-1c4b-4281-b951-d872f2087c98
* linux: use an in-tree copy of gold by defaultevan@chromium.org2012-02-031-0/+1
| | | | | | | | | | | | Rather than forcing everyone to configure their search paths etc. we should just make this work by default. You can set the gyp variable linux_use_gold_binary=0 to turn it off. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120356 Review URL: https://chromiumcodereview.appspot.com/9316002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120385 0039d316-1c4b-4281-b951-d872f2087c98
* Add SwiftShader copyright info and logo to about:credits.jbauman@chromium.org2012-02-031-10/+31
| | | | | | | | | | | Adds support to tools/licenses.py for including html in about:credits, and use to include SwiftShader's logo and license info. BUG=112611 TEST= Review URL: https://chromiumcodereview.appspot.com/9318014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120377 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: use an in-tree copy of gold by default"evan@chromium.org2012-02-031-1/+0
| | | | | | This reverts commit r120356. Build failures on 32-bit Linux. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120361 0039d316-1c4b-4281-b951-d872f2087c98
* linux: use an in-tree copy of gold by defaultevan@chromium.org2012-02-031-0/+1
| | | | | | | | | | Rather than forcing everyone to configure their search paths etc. we should just make this work by default. You can set the gyp variable linux_use_gold_binary=0 to turn it off. Review URL: https://chromiumcodereview.appspot.com/9316002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120356 0039d316-1c4b-4281-b951-d872f2087c98
* Bring about:credits up to date.jbauman@chromium.org2012-01-311-1/+8
| | | | | | | | | BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9288079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119924 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/tools/maruel@chromium.org2011-11-291-5/+12
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=timurrrr@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8678023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111960 0039d316-1c4b-4281-b951-d872f2087c98