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 optparse | 9 import optparse |
10 import os.path | 10 import os.path |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 'third_party/libusb/autogen.sh': [ | 254 'third_party/libusb/autogen.sh': [ |
255 'UNKNOWN', | 255 'UNKNOWN', |
256 ], | 256 ], |
257 'third_party/libusb/config.h': [ | 257 'third_party/libusb/config.h': [ |
258 'UNKNOWN', | 258 'UNKNOWN', |
259 ], | 259 ], |
260 'third_party/libusb/msvc/config.h': [ | 260 'third_party/libusb/msvc/config.h': [ |
261 'UNKNOWN', | 261 'UNKNOWN', |
262 ], | 262 ], |
263 | 263 |
| 264 # The package has a compatible COPYING file and most source files conform, |
| 265 # but there are several exceptions. |
| 266 # TODO(posciak,fischman): remove this exception once upstream makes all |
| 267 # their files conform. https://bugs.freedesktop.org/show_bug.cgi?id=49588 |
| 268 # http://crbug.com/126466 |
| 269 'third_party/libva/va/va_x11.h': [ |
| 270 'UNKNOWN', |
| 271 ], |
| 272 'third_party/libva/va/va_android.h': [ |
| 273 'UNKNOWN', |
| 274 ], |
| 275 'third_party/libva/va/x11/va_dricommon.h': [ |
| 276 'UNKNOWN', |
| 277 ], |
| 278 'third_party/libva/va/x11/va_dri2tokens.h': [ |
| 279 'UNKNOWN', |
| 280 ], |
| 281 'third_party/libva/va/x11/va_dri2str.h': [ |
| 282 'UNKNOWN', |
| 283 ], |
| 284 'third_party/libva/va/x11/va_dri2.h': [ |
| 285 'UNKNOWN', |
| 286 ], |
| 287 'third_party/libva/va/va_egl.h': [ |
| 288 'UNKNOWN', |
| 289 ], |
| 290 'third_party/libva/va/egl/va_egl_impl.h': [ |
| 291 'UNKNOWN', |
| 292 ], |
| 293 'third_party/libva/va/egl/va_egl_private.h': [ |
| 294 'UNKNOWN', |
| 295 ], |
| 296 |
264 'third_party/libvpx/source': [ # http://crbug.com/98319 | 297 'third_party/libvpx/source': [ # http://crbug.com/98319 |
265 'UNKNOWN', | 298 'UNKNOWN', |
266 ], | 299 ], |
267 'third_party/libvpx/source/libvpx/examples/includes': [ | 300 'third_party/libvpx/source/libvpx/examples/includes': [ |
268 'GPL (v2 or later)', | 301 'GPL (v2 or later)', |
269 ], | 302 ], |
270 'third_party/libwebp': [ # http://crbug.com/98448 | 303 'third_party/libwebp': [ # http://crbug.com/98448 |
271 'UNKNOWN', | 304 'UNKNOWN', |
272 ], | 305 ], |
273 'third_party/libxml': [ | 306 'third_party/libxml': [ |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 option_parser.add_option('--ignore-suppressions', | 537 option_parser.add_option('--ignore-suppressions', |
505 action='store_true', | 538 action='store_true', |
506 default=False, | 539 default=False, |
507 help='Ignore path-specific license whitelist.') | 540 help='Ignore path-specific license whitelist.') |
508 options, args = option_parser.parse_args() | 541 options, args = option_parser.parse_args() |
509 return check_licenses(options, args) | 542 return check_licenses(options, args) |
510 | 543 |
511 | 544 |
512 if '__main__' == __name__: | 545 if '__main__' == __name__: |
513 sys.exit(main()) | 546 sys.exit(main()) |
OLD | NEW |