| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 ], | 117 ], |
| 118 # This contains files copied from elsewhere from the tree. Since the copied | 118 # This contains files copied from elsewhere from the tree. Since the copied |
| 119 # directories might have suppressions below (like simplejson), whitelist the | 119 # directories might have suppressions below (like simplejson), whitelist the |
| 120 # whole directory. This is also not shipped code. | 120 # whole directory. This is also not shipped code. |
| 121 'chrome/common/extensions/docs/server2/third_party': [ | 121 'chrome/common/extensions/docs/server2/third_party': [ |
| 122 'UNKNOWN', | 122 'UNKNOWN', |
| 123 ], | 123 ], |
| 124 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 124 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 |
| 125 'UNKNOWN', | 125 'UNKNOWN', |
| 126 ], | 126 ], |
| 127 # This code is not shipped. |
| 128 'mojo/public/third_party/ply': [ |
| 129 'UNKNOWN', |
| 130 ], |
| 127 'native_client': [ # http://crbug.com/98099 | 131 'native_client': [ # http://crbug.com/98099 |
| 128 'UNKNOWN', | 132 'UNKNOWN', |
| 129 ], | 133 ], |
| 130 'native_client/toolchain': [ | 134 'native_client/toolchain': [ |
| 131 'BSD GPL (v2 or later)', | 135 'BSD GPL (v2 or later)', |
| 132 'BSD (2 clause) GPL (v2 or later)', | 136 'BSD (2 clause) GPL (v2 or later)', |
| 133 'BSD (3 clause) GPL (v2 or later)', | 137 'BSD (3 clause) GPL (v2 or later)', |
| 134 'BSL (v1.0) GPL', | 138 'BSL (v1.0) GPL', |
| 135 'BSL (v1.0) GPL (v3.1)', | 139 'BSL (v1.0) GPL (v3.1)', |
| 136 'GPL', | 140 'GPL', |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 action='store_true', | 535 action='store_true', |
| 532 default=False, | 536 default=False, |
| 533 help='Ignore path-specific license whitelist.') | 537 help='Ignore path-specific license whitelist.') |
| 534 option_parser.add_option('--json', help='Path to JSON output file') | 538 option_parser.add_option('--json', help='Path to JSON output file') |
| 535 options, args = option_parser.parse_args() | 539 options, args = option_parser.parse_args() |
| 536 return check_licenses(options, args) | 540 return check_licenses(options, args) |
| 537 | 541 |
| 538 | 542 |
| 539 if '__main__' == __name__: | 543 if '__main__' == __name__: |
| 540 sys.exit(main()) | 544 sys.exit(main()) |
| OLD | NEW |