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

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

Issue 444423002: Update V8 to version 3.28.62 (based on bleeding_edge revision r22958). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Recognize license. Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « third_party/devscripts/licensecheck.pl ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 'MPL (v2.0)', 88 'MPL (v2.0)',
89 'Ms-PL', 89 'Ms-PL',
90 'Public domain', 90 'Public domain',
91 'Public domain BSD', 91 'Public domain BSD',
92 'Public domain BSD (3 clause)', 92 'Public domain BSD (3 clause)',
93 'Public domain BSD-like', 93 'Public domain BSD-like',
94 'Public domain LGPL (v2.1 or later)', 94 'Public domain LGPL (v2.1 or later)',
95 'libpng', 95 'libpng',
96 'zlib/libpng', 96 'zlib/libpng',
97 'SGI Free Software License B', 97 'SGI Free Software License B',
98 'SunSoft (BSD like)',
98 'University of Illinois/NCSA Open Source License (BSD like)', 99 'University of Illinois/NCSA Open Source License (BSD like)',
99 ('University of Illinois/NCSA Open Source License (BSD like) ' 100 ('University of Illinois/NCSA Open Source License (BSD like) '
100 'MIT/X11 (BSD like)'), 101 'MIT/X11 (BSD like)'),
101 ] 102 ]
102 103
103 104
104 PATH_SPECIFIC_WHITELISTED_LICENSES = { 105 PATH_SPECIFIC_WHITELISTED_LICENSES = {
105 'base/third_party/icu': [ # http://crbug.com/98087 106 'base/third_party/icu': [ # http://crbug.com/98087
106 'UNKNOWN', 107 'UNKNOWN',
107 ], 108 ],
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 action='store_true', 526 action='store_true',
526 default=False, 527 default=False,
527 help='Ignore path-specific license whitelist.') 528 help='Ignore path-specific license whitelist.')
528 option_parser.add_option('--json', help='Path to JSON output file') 529 option_parser.add_option('--json', help='Path to JSON output file')
529 options, args = option_parser.parse_args() 530 options, args = option_parser.parse_args()
530 return check_licenses(options, args) 531 return check_licenses(options, args)
531 532
532 533
533 if '__main__' == __name__: 534 if '__main__' == __name__:
534 sys.exit(main()) 535 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/devscripts/licensecheck.pl ('k') | tools/licenses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698