Chromium Code Reviews| 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': [ | |
|
Lei Zhang
2016/10/17 23:28:30
I'm lgtm-ing this separately.
No need to stop the
Tom (Use chromium acct)
2016/10/18 19:25:14
Done.
| |
| 238 'GPL (v2 or later)', | |
| 239 ], | |
| 237 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ | 240 'third_party/catapult/firefighter/default/tracing/third_party/devscripts': [ |
|
Lei Zhang
2016/10/17 23:28:30
Also, the 3 devscripts entries are grouped togethe
Tom (Use chromium acct)
2016/10/18 19:25:14
Done.
| |
| 238 'GPL (v2 or later)', | 241 'GPL (v2 or later)', |
| 239 ], | 242 ], |
| 240 'third_party/catapult/tracing/third_party/devscripts': [ | 243 'third_party/catapult/tracing/third_party/devscripts': [ |
| 241 'GPL (v2 or later)', | 244 'GPL (v2 or later)', |
| 242 ], | 245 ], |
| 243 | 246 |
| 244 # https://github.com/shazow/apiclient/issues/8 | 247 # https://github.com/shazow/apiclient/issues/8 |
| 245 # MIT license. | 248 # MIT license. |
| 246 'third_party/catapult/third_party/apiclient': [ | 249 'third_party/catapult/third_party/apiclient': [ |
| 247 'UNKNOWN', | 250 'UNKNOWN', |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 779 action='store_true', | 782 action='store_true', |
| 780 default=False, | 783 default=False, |
| 781 help='Ignore path-specific license whitelist.') | 784 help='Ignore path-specific license whitelist.') |
| 782 option_parser.add_option('--json', help='Path to JSON output file') | 785 option_parser.add_option('--json', help='Path to JSON output file') |
| 783 options, args = option_parser.parse_args() | 786 options, args = option_parser.parse_args() |
| 784 return check_licenses(options, args) | 787 return check_licenses(options, args) |
| 785 | 788 |
| 786 | 789 |
| 787 if '__main__' == __name__: | 790 if '__main__' == __name__: |
| 788 sys.exit(main()) | 791 sys.exit(main()) |
| OLD | NEW |