| OLD | NEW |
| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 'third_party/WebKit': [ | 178 'third_party/WebKit': [ |
| 179 'UNKNOWN', | 179 'UNKNOWN', |
| 180 ], | 180 ], |
| 181 | 181 |
| 182 # http://code.google.com/p/angleproject/issues/detail?id=217 | 182 # http://code.google.com/p/angleproject/issues/detail?id=217 |
| 183 'third_party/angle': [ | 183 'third_party/angle': [ |
| 184 'UNKNOWN', | 184 'UNKNOWN', |
| 185 ], | 185 ], |
| 186 | 186 |
| 187 # http://crbug.com/603946 |
| 188 # https://github.com/google/oauth2client/issues/331 |
| 189 # Just imports googleapiclient. Chromite is not shipped. |
| 190 'third_party/chromite/third_party/apiclient': [ |
| 191 'UNKNOWN', |
| 192 ], |
| 193 |
| 194 # http://crbug.com/603946 |
| 195 # https://github.com/google/google-api-python-client/issues/216 |
| 196 # Apache (v2.0) license. Chromite is not shipped. |
| 197 'third_party/chromite/third_party/googleapiclient/channel.py': [ |
| 198 'UNKNOWN', |
| 199 ], |
| 200 |
| 187 # http://crbug.com/222828 | 201 # http://crbug.com/222828 |
| 188 # http://bugs.python.org/issue17514 | 202 # http://bugs.python.org/issue17514 |
| 189 'third_party/chromite/third_party/argparse.py': [ | 203 'third_party/chromite/third_party/argparse.py': [ |
| 190 'UNKNOWN', | 204 'UNKNOWN', |
| 191 ], | 205 ], |
| 192 | 206 |
| 207 # http://crbug.com/603939 |
| 208 # https://github.com/jcgregorio/httplib2/issues/307 |
| 209 # MIT license. Chromite is not shipped. |
| 210 'third_party/chromite/third_party/httplib2': [ |
| 211 'UNKNOWN', |
| 212 ], |
| 213 |
| 193 # http://crbug.com/326117 | 214 # http://crbug.com/326117 |
| 194 # https://bitbucket.org/chrisatlee/poster/issue/21 | 215 # https://bitbucket.org/chrisatlee/poster/issue/21 |
| 195 'third_party/chromite/third_party/poster': [ | 216 'third_party/chromite/third_party/poster': [ |
| 196 'UNKNOWN', | 217 'UNKNOWN', |
| 197 ], | 218 ], |
| 198 | 219 |
| 220 # http://crbug.com/603944 |
| 221 # https://github.com/kennethreitz/requests/issues/1610 |
| 222 # Apache (v2.0) license. Chromite is not shipped |
| 223 'third_party/chromite/third_party/requests': [ |
| 224 'UNKNOWN', |
| 225 ], |
| 226 |
| 199 # http://crbug.com/333508 | 227 # http://crbug.com/333508 |
| 200 'buildtools/clang_format/script': [ | 228 'buildtools/clang_format/script': [ |
| 201 'UNKNOWN', | 229 'UNKNOWN', |
| 202 ], | 230 ], |
| 203 | 231 |
| 204 # https://mail.python.org/pipermail/cython-devel/2014-July/004062.html | 232 # https://mail.python.org/pipermail/cython-devel/2014-July/004062.html |
| 205 'third_party/cython': [ | 233 'third_party/cython': [ |
| 206 'UNKNOWN', | 234 'UNKNOWN', |
| 207 ], | 235 ], |
| 208 | 236 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 ], | 513 ], |
| 486 'third_party/sqlite': [ | 514 'third_party/sqlite': [ |
| 487 'UNKNOWN', | 515 'UNKNOWN', |
| 488 ], | 516 ], |
| 489 | 517 |
| 490 # New BSD license. http://crbug.com/98455 | 518 # New BSD license. http://crbug.com/98455 |
| 491 'tools/swarming_client/third_party/google': [ | 519 'tools/swarming_client/third_party/google': [ |
| 492 'UNKNOWN', | 520 'UNKNOWN', |
| 493 ], | 521 ], |
| 494 | 522 |
| 523 # https://github.com/google/google-api-python-client/issues/216 |
| 495 # Apache v2.0. | 524 # Apache v2.0. |
| 496 'tools/swarming_client/third_party/googleapiclient': [ | 525 'tools/swarming_client/third_party/googleapiclient': [ |
| 497 'UNKNOWN', | 526 'UNKNOWN', |
| 498 ], | 527 ], |
| 499 | 528 |
| 500 # http://crbug.com/334668 | 529 # http://crbug.com/334668 |
| 530 # https://github.com/jcgregorio/httplib2/issues/307 |
| 501 # MIT license. | 531 # MIT license. |
| 502 'tools/swarming_client/third_party/httplib2': [ | 532 'tools/swarming_client/third_party/httplib2': [ |
| 503 'UNKNOWN', | 533 'UNKNOWN', |
| 504 ], | 534 ], |
| 505 | 535 |
| 506 # http://crbug.com/334668 | 536 # http://crbug.com/334668 |
| 507 # Apache v2.0. | 537 # Apache v2.0. |
| 508 'tools/swarming_client/third_party/oauth2client': [ | 538 'tools/swarming_client/third_party/oauth2client': [ |
| 509 'UNKNOWN', | 539 'UNKNOWN', |
| 510 ], | 540 ], |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 action='store_true', | 785 action='store_true', |
| 756 default=False, | 786 default=False, |
| 757 help='Ignore path-specific license whitelist.') | 787 help='Ignore path-specific license whitelist.') |
| 758 option_parser.add_option('--json', help='Path to JSON output file') | 788 option_parser.add_option('--json', help='Path to JSON output file') |
| 759 options, args = option_parser.parse_args() | 789 options, args = option_parser.parse_args() |
| 760 return check_licenses(options, args) | 790 return check_licenses(options, args) |
| 761 | 791 |
| 762 | 792 |
| 763 if '__main__' == __name__: | 793 if '__main__' == __name__: |
| 764 sys.exit(main()) | 794 sys.exit(main()) |
| OLD | NEW |