| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 # Apache (v2.0) license. Chromite is not shipped | 224 # Apache (v2.0) license. Chromite is not shipped |
| 225 'third_party/chromite/third_party/requests': [ | 225 'third_party/chromite/third_party/requests': [ |
| 226 'UNKNOWN', | 226 'UNKNOWN', |
| 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 # https://bugs.chromium.org/p/chromium/issues/detail?id=655755 |
| 235 'third_party/dpkg-dev': [ |
| 236 'GPL (v2 or later)', |
| 237 ], |
| 238 |
| 234 'third_party/devscripts': [ | 239 'third_party/devscripts': [ |
| 235 'GPL (v2 or later)', | 240 'GPL (v2 or later)', |
| 236 ], | 241 ], |
| 237 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ | 242 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ |
| 238 'GPL (v2 or later)', | 243 'GPL (v2 or later)', |
| 239 ], | 244 ], |
| 240 'third_party/catapult/tracing/third_party/devscripts': [ | 245 'third_party/catapult/tracing/third_party/devscripts': [ |
| 241 'GPL (v2 or later)', | 246 'GPL (v2 or later)', |
| 242 ], | 247 ], |
| 243 | 248 |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 action='store_true', | 784 action='store_true', |
| 780 default=False, | 785 default=False, |
| 781 help='Ignore path-specific license whitelist.') | 786 help='Ignore path-specific license whitelist.') |
| 782 option_parser.add_option('--json', help='Path to JSON output file') | 787 option_parser.add_option('--json', help='Path to JSON output file') |
| 783 options, args = option_parser.parse_args() | 788 options, args = option_parser.parse_args() |
| 784 return check_licenses(options, args) | 789 return check_licenses(options, args) |
| 785 | 790 |
| 786 | 791 |
| 787 if '__main__' == __name__: | 792 if '__main__' == __name__: |
| 788 sys.exit(main()) | 793 sys.exit(main()) |
| OLD | NEW |