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 json | 9 import json |
10 import optparse | 10 import optparse |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 ], | 227 ], |
228 | 228 |
229 # http://crbug.com/333508 | 229 # http://crbug.com/333508 |
230 'buildtools/clang_format/script': [ | 230 'buildtools/clang_format/script': [ |
231 'UNKNOWN', | 231 'UNKNOWN', |
232 ], | 232 ], |
233 | 233 |
234 'third_party/devscripts': [ | 234 'third_party/devscripts': [ |
235 'GPL (v2 or later)', | 235 'GPL (v2 or later)', |
236 ], | 236 ], |
237 'third_party/dpkg-dev': [ | |
238 'GPL (v2 or later)', | |
239 ], | |
240 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ | 237 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ |
241 'GPL (v2 or later)', | 238 'GPL (v2 or later)', |
242 ], | 239 ], |
243 'third_party/catapult/tracing/third_party/devscripts': [ | 240 'third_party/catapult/tracing/third_party/devscripts': [ |
244 'GPL (v2 or later)', | 241 'GPL (v2 or later)', |
245 ], | 242 ], |
246 | 243 |
247 # https://github.com/shazow/apiclient/issues/8 | 244 # https://github.com/shazow/apiclient/issues/8 |
248 # MIT license. | 245 # MIT license. |
249 'third_party/catapult/third_party/apiclient': [ | 246 'third_party/catapult/third_party/apiclient': [ |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 action='store_true', | 779 action='store_true', |
783 default=False, | 780 default=False, |
784 help='Ignore path-specific license whitelist.') | 781 help='Ignore path-specific license whitelist.') |
785 option_parser.add_option('--json', help='Path to JSON output file') | 782 option_parser.add_option('--json', help='Path to JSON output file') |
786 options, args = option_parser.parse_args() | 783 options, args = option_parser.parse_args() |
787 return check_licenses(options, args) | 784 return check_licenses(options, args) |
788 | 785 |
789 | 786 |
790 if '__main__' == __name__: | 787 if '__main__' == __name__: |
791 sys.exit(main()) | 788 sys.exit(main()) |
OLD | NEW |