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 optparse | 9 import optparse |
10 import os.path | 10 import os.path |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 'GPL (v3.1)', | 137 'GPL (v3.1)', |
138 'GPL (v3 or later)', | 138 'GPL (v3 or later)', |
139 ], | 139 ], |
140 'net/tools/spdyshark': [ | 140 'net/tools/spdyshark': [ |
141 'GPL (v2 or later)', | 141 'GPL (v2 or later)', |
142 'UNKNOWN', | 142 'UNKNOWN', |
143 ], | 143 ], |
144 'third_party/WebKit': [ | 144 'third_party/WebKit': [ |
145 'UNKNOWN', | 145 'UNKNOWN', |
146 ], | 146 ], |
147 'third_party/active_doc': [ # http://crbug.com/98113 | |
148 'UNKNOWN', | |
149 ], | |
150 | 147 |
151 # http://code.google.com/p/angleproject/issues/detail?id=217 | 148 # http://code.google.com/p/angleproject/issues/detail?id=217 |
152 'third_party/angle': [ | 149 'third_party/angle': [ |
153 'UNKNOWN', | 150 'UNKNOWN', |
154 ], | 151 ], |
155 | 152 |
156 # http://crbug.com/222828 | 153 # http://crbug.com/222828 |
157 # http://bugs.python.org/issue17514 | 154 # http://bugs.python.org/issue17514 |
158 'third_party/chromite/third_party/argparse.py': [ | 155 'third_party/chromite/third_party/argparse.py': [ |
159 'UNKNOWN', | 156 'UNKNOWN', |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 option_parser.add_option('--ignore-suppressions', | 516 option_parser.add_option('--ignore-suppressions', |
520 action='store_true', | 517 action='store_true', |
521 default=False, | 518 default=False, |
522 help='Ignore path-specific license whitelist.') | 519 help='Ignore path-specific license whitelist.') |
523 options, args = option_parser.parse_args() | 520 options, args = option_parser.parse_args() |
524 return check_licenses(options, args) | 521 return check_licenses(options, args) |
525 | 522 |
526 | 523 |
527 if '__main__' == __name__: | 524 if '__main__' == __name__: |
528 sys.exit(main()) | 525 sys.exit(main()) |
OLD | NEW |