| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 # consistent license headers. Also, this is just used in a utility | 169 # consistent license headers. Also, this is just used in a utility |
| 170 # and not shipped. https://github.com/waylan/Python-Markdown/issues/435 | 170 # and not shipped. https://github.com/waylan/Python-Markdown/issues/435 |
| 171 'third_party/Python-Markdown': [ | 171 'third_party/Python-Markdown': [ |
| 172 'UNKNOWN', | 172 'UNKNOWN', |
| 173 ], | 173 ], |
| 174 | 174 |
| 175 'third_party/WebKit': [ | 175 'third_party/WebKit': [ |
| 176 'UNKNOWN', | 176 'UNKNOWN', |
| 177 ], | 177 ], |
| 178 | 178 |
| 179 # https://bugs.chromium.org/p/swiftshader/issues/detail?id=1 |
| 180 'third_party/swiftshader': [ |
| 181 'UNKNOWN', |
| 182 ], |
| 183 |
| 179 # http://code.google.com/p/angleproject/issues/detail?id=217 | 184 # http://code.google.com/p/angleproject/issues/detail?id=217 |
| 180 'third_party/angle': [ | 185 'third_party/angle': [ |
| 181 'UNKNOWN', | 186 'UNKNOWN', |
| 182 ], | 187 ], |
| 183 | 188 |
| 184 # http://crbug.com/603946 | 189 # http://crbug.com/603946 |
| 185 # https://github.com/google/oauth2client/issues/331 | 190 # https://github.com/google/oauth2client/issues/331 |
| 186 # Just imports googleapiclient. Chromite is not shipped. | 191 # Just imports googleapiclient. Chromite is not shipped. |
| 187 'third_party/chromite/third_party/apiclient': [ | 192 'third_party/chromite/third_party/apiclient': [ |
| 188 'UNKNOWN', | 193 'UNKNOWN', |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 action='store_true', | 783 action='store_true', |
| 779 default=False, | 784 default=False, |
| 780 help='Ignore path-specific license whitelist.') | 785 help='Ignore path-specific license whitelist.') |
| 781 option_parser.add_option('--json', help='Path to JSON output file') | 786 option_parser.add_option('--json', help='Path to JSON output file') |
| 782 options, args = option_parser.parse_args() | 787 options, args = option_parser.parse_args() |
| 783 return check_licenses(options, args) | 788 return check_licenses(options, args) |
| 784 | 789 |
| 785 | 790 |
| 786 if '__main__' == __name__: | 791 if '__main__' == __name__: |
| 787 sys.exit(main()) | 792 sys.exit(main()) |
| OLD | NEW |