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 'mojo/public/third_party/ply/__init__.py': [ |
| 128 'UNKNOWN', |
| 129 ], |
127 'native_client': [ # http://crbug.com/98099 | 130 'native_client': [ # http://crbug.com/98099 |
128 'UNKNOWN', | 131 'UNKNOWN', |
129 ], | 132 ], |
130 'native_client/toolchain': [ | 133 'native_client/toolchain': [ |
131 'BSD GPL (v2 or later)', | 134 'BSD GPL (v2 or later)', |
132 'BSD (2 clause) GPL (v2 or later)', | 135 'BSD (2 clause) GPL (v2 or later)', |
133 'BSD (3 clause) GPL (v2 or later)', | 136 'BSD (3 clause) GPL (v2 or later)', |
134 'BSL (v1.0) GPL', | 137 'BSL (v1.0) GPL', |
135 'BSL (v1.0) GPL (v3.1)', | 138 'BSL (v1.0) GPL (v3.1)', |
136 'GPL', | 139 'GPL', |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 action='store_true', | 545 action='store_true', |
543 default=False, | 546 default=False, |
544 help='Ignore path-specific license whitelist.') | 547 help='Ignore path-specific license whitelist.') |
545 option_parser.add_option('--json', help='Path to JSON output file') | 548 option_parser.add_option('--json', help='Path to JSON output file') |
546 options, args = option_parser.parse_args() | 549 options, args = option_parser.parse_args() |
547 return check_licenses(options, args) | 550 return check_licenses(options, args) |
548 | 551 |
549 | 552 |
550 if '__main__' == __name__: | 553 if '__main__' == __name__: |
551 sys.exit(main()) | 554 sys.exit(main()) |
OLD | NEW |