| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 'data/mozilla_js_tests': [ | 121 'data/mozilla_js_tests': [ |
| 122 'UNKNOWN', | 122 'UNKNOWN', |
| 123 ], | 123 ], |
| 124 'data/page_cycler': [ | 124 'data/page_cycler': [ |
| 125 'UNKNOWN', | 125 'UNKNOWN', |
| 126 'GPL (v2 or later)', | 126 'GPL (v2 or later)', |
| 127 ], | 127 ], |
| 128 'data/tab_switching': [ | 128 'data/tab_switching': [ |
| 129 'UNKNOWN', | 129 'UNKNOWN', |
| 130 ], | 130 ], |
| 131 'googleurl': [ # http://code.google.com/p/google-url/issues/detail?id=15 | |
| 132 'UNKNOWN', | |
| 133 ], | |
| 134 | |
| 135 'native_client': [ # http://crbug.com/98099 | 131 'native_client': [ # http://crbug.com/98099 |
| 136 'UNKNOWN', | 132 'UNKNOWN', |
| 137 ], | 133 ], |
| 138 'native_client/toolchain': [ | 134 'native_client/toolchain': [ |
| 139 'BSD GPL (v2 or later)', | 135 'BSD GPL (v2 or later)', |
| 140 'BSD (2 clause) GPL (v2 or later)', | 136 'BSD (2 clause) GPL (v2 or later)', |
| 141 'BSD (3 clause) GPL (v2 or later)', | 137 'BSD (3 clause) GPL (v2 or later)', |
| 142 'BSL (v1.0) GPL', | 138 'BSL (v1.0) GPL', |
| 143 'BSL (v1.0) GPL (v3.1)', | 139 'BSL (v1.0) GPL (v3.1)', |
| 144 'GPL', | 140 'GPL', |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 option_parser.add_option('--ignore-suppressions', | 539 option_parser.add_option('--ignore-suppressions', |
| 544 action='store_true', | 540 action='store_true', |
| 545 default=False, | 541 default=False, |
| 546 help='Ignore path-specific license whitelist.') | 542 help='Ignore path-specific license whitelist.') |
| 547 options, args = option_parser.parse_args() | 543 options, args = option_parser.parse_args() |
| 548 return check_licenses(options, args) | 544 return check_licenses(options, args) |
| 549 | 545 |
| 550 | 546 |
| 551 if '__main__' == __name__: | 547 if '__main__' == __name__: |
| 552 sys.exit(main()) | 548 sys.exit(main()) |
| OLD | NEW |