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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 'third_party/libusb/src/msvc/config.h': [ | 285 'third_party/libusb/src/msvc/config.h': [ |
286 'UNKNOWN', | 286 'UNKNOWN', |
287 ], | 287 ], |
288 | 288 |
289 'third_party/libvpx/source': [ # http://crbug.com/98319 | 289 'third_party/libvpx/source': [ # http://crbug.com/98319 |
290 'UNKNOWN', | 290 'UNKNOWN', |
291 ], | 291 ], |
292 'third_party/libvpx/source/libvpx/examples/includes': [ | 292 'third_party/libvpx/source/libvpx/examples/includes': [ |
293 'GPL (v2 or later)', | 293 'GPL (v2 or later)', |
294 ], | 294 ], |
295 'third_party/libwebp': [ # http://crbug.com/98448 | |
296 'UNKNOWN', | |
297 ], | |
298 'third_party/libxml': [ | 295 'third_party/libxml': [ |
299 'UNKNOWN', | 296 'UNKNOWN', |
300 ], | 297 ], |
301 'third_party/libxslt': [ | 298 'third_party/libxslt': [ |
302 'UNKNOWN', | 299 'UNKNOWN', |
303 ], | 300 ], |
304 'third_party/lzma_sdk': [ | 301 'third_party/lzma_sdk': [ |
305 'UNKNOWN', | 302 'UNKNOWN', |
306 ], | 303 ], |
307 'third_party/mesa/MesaLib': [ | 304 'third_party/mesa/MesaLib': [ |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 option_parser.add_option('--ignore-suppressions', | 548 option_parser.add_option('--ignore-suppressions', |
552 action='store_true', | 549 action='store_true', |
553 default=False, | 550 default=False, |
554 help='Ignore path-specific license whitelist.') | 551 help='Ignore path-specific license whitelist.') |
555 options, args = option_parser.parse_args() | 552 options, args = option_parser.parse_args() |
556 return check_licenses(options, args) | 553 return check_licenses(options, args) |
557 | 554 |
558 | 555 |
559 if '__main__' == __name__: | 556 if '__main__' == __name__: |
560 sys.exit(main()) | 557 sys.exit(main()) |
OLD | NEW |