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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 ], | 318 ], |
319 'third_party/hunspell': [ # http://crbug.com/98134 | 319 'third_party/hunspell': [ # http://crbug.com/98134 |
320 'UNKNOWN', | 320 'UNKNOWN', |
321 ], | 321 ], |
322 'third_party/iccjpeg': [ # http://crbug.com/98137 | 322 'third_party/iccjpeg': [ # http://crbug.com/98137 |
323 'UNKNOWN', | 323 'UNKNOWN', |
324 ], | 324 ], |
325 'third_party/icu': [ # http://crbug.com/98301 | 325 'third_party/icu': [ # http://crbug.com/98301 |
326 'UNKNOWN', | 326 'UNKNOWN', |
327 ], | 327 ], |
| 328 'third_party/jmake': [ # Used only at build time. |
| 329 'GPL (v2)', |
| 330 ], |
328 'third_party/jsoncpp/source': [ | 331 'third_party/jsoncpp/source': [ |
329 # https://github.com/open-source-parsers/jsoncpp/issues/234 | 332 # https://github.com/open-source-parsers/jsoncpp/issues/234 |
330 'UNKNOWN', | 333 'UNKNOWN', |
331 ], | 334 ], |
332 'third_party/junit/src': [ | 335 'third_party/junit/src': [ |
333 # https://github.com/junit-team/junit/issues/1132 | 336 # https://github.com/junit-team/junit/issues/1132 |
334 'UNKNOWN', | 337 'UNKNOWN', |
335 ], | 338 ], |
336 'third_party/lcov': [ # http://crbug.com/98304 | 339 'third_party/lcov': [ # http://crbug.com/98304 |
337 'UNKNOWN', | 340 'UNKNOWN', |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 action='store_true', | 691 action='store_true', |
689 default=False, | 692 default=False, |
690 help='Ignore path-specific license whitelist.') | 693 help='Ignore path-specific license whitelist.') |
691 option_parser.add_option('--json', help='Path to JSON output file') | 694 option_parser.add_option('--json', help='Path to JSON output file') |
692 options, args = option_parser.parse_args() | 695 options, args = option_parser.parse_args() |
693 return check_licenses(options, args) | 696 return check_licenses(options, args) |
694 | 697 |
695 | 698 |
696 if '__main__' == __name__: | 699 if '__main__' == __name__: |
697 sys.exit(main()) | 700 sys.exit(main()) |
OLD | NEW |