Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: tools/checklicenses/checklicenses.py

Issue 2171663002: Revert of Roll gtest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/gtest_nacl.gyp ('k') | tools/licenses.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Makes sure that all files contain proper licensing information.""" 6 """Makes sure that all files contain proper licensing information."""
7 7
8 8
9 import json 9 import json
10 import optparse 10 import optparse
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 # Look for email by nednguyen@google.com in May 5th in 631 # Look for email by nednguyen@google.com in May 5th in
632 # https://lists.logilab.org/pipermail/python-projects/ 632 # https://lists.logilab.org/pipermail/python-projects/
633 'UNKNOWN', 633 'UNKNOWN',
634 ], 634 ],
635 # Not shipped, GPL license but some header files contain no licensing info. 635 # Not shipped, GPL license but some header files contain no licensing info.
636 'third_party/pylint': [ 636 'third_party/pylint': [
637 'GPL (v2 or later)', 637 'GPL (v2 or later)',
638 # https://github.com/PyCQA/pylint/issues/894 638 # https://github.com/PyCQA/pylint/issues/894
639 'UNKNOWN', 639 'UNKNOWN',
640 ], 640 ],
641 # Trivial script lacking a license. Not used by Chromium.
642 'testing/third_party/googletest/travis.sh': [
643 'UNKNOWN',
644 ],
645 } 641 }
646 642
647 EXCLUDED_PATHS = [ 643 EXCLUDED_PATHS = [
648 # Don't check generated files 644 # Don't check generated files
649 'out/', 645 'out/',
650 646
651 # Don't check downloaded goma client binaries 647 # Don't check downloaded goma client binaries
652 'build/goma/client', 648 'build/goma/client',
653 649
654 # Don't check sysroot directories 650 # Don't check sysroot directories
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 action='store_true', 778 action='store_true',
783 default=False, 779 default=False,
784 help='Ignore path-specific license whitelist.') 780 help='Ignore path-specific license whitelist.')
785 option_parser.add_option('--json', help='Path to JSON output file') 781 option_parser.add_option('--json', help='Path to JSON output file')
786 options, args = option_parser.parse_args() 782 options, args = option_parser.parse_args()
787 return check_licenses(options, args) 783 return check_licenses(options, args)
788 784
789 785
790 if '__main__' == __name__: 786 if '__main__' == __name__:
791 sys.exit(main()) 787 sys.exit(main())
OLDNEW
« no previous file with comments | « testing/gtest_nacl.gyp ('k') | tools/licenses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698