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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 'UNKNOWN', | 156 'UNKNOWN', |
157 ], | 157 ], |
158 | 158 |
159 # http://crbug.com/326117 | 159 # http://crbug.com/326117 |
160 # https://bitbucket.org/chrisatlee/poster/issue/21 | 160 # https://bitbucket.org/chrisatlee/poster/issue/21 |
161 'third_party/chromite/third_party/poster': [ | 161 'third_party/chromite/third_party/poster': [ |
162 'UNKNOWN', | 162 'UNKNOWN', |
163 ], | 163 ], |
164 | 164 |
165 # http://crbug.com/333508 | 165 # http://crbug.com/333508 |
| 166 'third_party/clang_format/script': [ |
| 167 'UNKNOWN', |
| 168 ], |
166 'third_party/clang_format/scripts': [ | 169 'third_party/clang_format/scripts': [ |
167 'UNKNOWN', | 170 'UNKNOWN', |
168 ], | 171 ], |
169 | 172 |
170 # Not used. http://crbug.com/156020 | 173 # Not used. http://crbug.com/156020 |
171 # Using third_party/cros_dbus_cplusplus/cros_dbus_cplusplus.gyp instead. | 174 # Using third_party/cros_dbus_cplusplus/cros_dbus_cplusplus.gyp instead. |
172 'third_party/cros_dbus_cplusplus/source/autogen.sh': [ | 175 'third_party/cros_dbus_cplusplus/source/autogen.sh': [ |
173 'UNKNOWN', | 176 'UNKNOWN', |
174 ], | 177 ], |
175 # Included in the source tree but not built. http://crbug.com/156020 | 178 # Included in the source tree but not built. http://crbug.com/156020 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 option_parser.add_option('--ignore-suppressions', | 536 option_parser.add_option('--ignore-suppressions', |
534 action='store_true', | 537 action='store_true', |
535 default=False, | 538 default=False, |
536 help='Ignore path-specific license whitelist.') | 539 help='Ignore path-specific license whitelist.') |
537 options, args = option_parser.parse_args() | 540 options, args = option_parser.parse_args() |
538 return check_licenses(options, args) | 541 return check_licenses(options, args) |
539 | 542 |
540 | 543 |
541 if '__main__' == __name__: | 544 if '__main__' == __name__: |
542 sys.exit(main()) | 545 sys.exit(main()) |
OLD | NEW |