| 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 | |
| 239 'third_party/devscripts': [ | 234 'third_party/devscripts': [ |
| 240 'GPL (v2 or later)', | 235 'GPL (v2 or later)', |
| 241 ], | 236 ], |
| 242 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ | 237 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ |
| 243 'GPL (v2 or later)', | 238 'GPL (v2 or later)', |
| 244 ], | 239 ], |
| 245 'third_party/catapult/tracing/third_party/devscripts': [ | 240 'third_party/catapult/tracing/third_party/devscripts': [ |
| 246 'GPL (v2 or later)', | 241 'GPL (v2 or later)', |
| 247 ], | 242 ], |
| 248 | 243 |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 action='store_true', | 779 action='store_true', |
| 785 default=False, | 780 default=False, |
| 786 help='Ignore path-specific license whitelist.') | 781 help='Ignore path-specific license whitelist.') |
| 787 option_parser.add_option('--json', help='Path to JSON output file') | 782 option_parser.add_option('--json', help='Path to JSON output file') |
| 788 options, args = option_parser.parse_args() | 783 options, args = option_parser.parse_args() |
| 789 return check_licenses(options, args) | 784 return check_licenses(options, args) |
| 790 | 785 |
| 791 | 786 |
| 792 if '__main__' == __name__: | 787 if '__main__' == __name__: |
| 793 sys.exit(main()) | 788 sys.exit(main()) |
| OLD | NEW |