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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 option_parser.add_option('--ignore-suppressions', | 545 option_parser.add_option('--ignore-suppressions', |
550 action='store_true', | 546 action='store_true', |
551 default=False, | 547 default=False, |
552 help='Ignore path-specific license whitelist.') | 548 help='Ignore path-specific license whitelist.') |
553 options, args = option_parser.parse_args() | 549 options, args = option_parser.parse_args() |
554 return check_licenses(options, args) | 550 return check_licenses(options, args) |
555 | 551 |
556 | 552 |
557 if '__main__' == __name__: | 553 if '__main__' == __name__: |
558 sys.exit(main()) | 554 sys.exit(main()) |
OLD | NEW |