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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 'UNKNOWN', | 238 'UNKNOWN', |
239 ], | 239 ], |
240 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 | 240 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 |
241 'UNKNOWN', | 241 'UNKNOWN', |
242 ], | 242 ], |
243 'third_party/libpng': [ # http://crbug.com/98318 | 243 'third_party/libpng': [ # http://crbug.com/98318 |
244 'UNKNOWN', | 244 'UNKNOWN', |
245 ], | 245 ], |
246 | 246 |
247 # The following files lack license headers, but are trivial. | 247 # The following files lack license headers, but are trivial. |
248 'third_party/libusb/libusb/os/poll_posix.h': [ | 248 'third_party/libusb/src/libusb/os/poll_posix.h': [ |
249 'UNKNOWN', | 249 'UNKNOWN', |
250 ], | 250 ], |
251 'third_party/libusb/libusb/version.h': [ | 251 'third_party/libusb/src/libusb/version.h': [ |
252 'UNKNOWN', | 252 'UNKNOWN', |
253 ], | 253 ], |
254 'third_party/libusb/autogen.sh': [ | 254 'third_party/libusb/src/autogen.sh': [ |
255 'UNKNOWN', | 255 'UNKNOWN', |
256 ], | 256 ], |
257 'third_party/libusb/config.h': [ | 257 'third_party/libusb/src/config.h': [ |
258 'UNKNOWN', | 258 'UNKNOWN', |
259 ], | 259 ], |
260 'third_party/libusb/msvc/config.h': [ | 260 'third_party/libusb/src/msvc/config.h': [ |
261 'UNKNOWN', | 261 'UNKNOWN', |
262 ], | 262 ], |
263 | 263 |
264 # The package has a compatible COPYING file and most source files conform, | 264 # The package has a compatible COPYING file and most source files conform, |
265 # but there are several exceptions. | 265 # but there are several exceptions. |
266 # TODO(posciak,fischman): remove this exception once upstream makes all | 266 # TODO(posciak,fischman): remove this exception once upstream makes all |
267 # their files conform. https://bugs.freedesktop.org/show_bug.cgi?id=49588 | 267 # their files conform. https://bugs.freedesktop.org/show_bug.cgi?id=49588 |
268 # http://crbug.com/126466 | 268 # http://crbug.com/126466 |
269 'third_party/libva/va/va_x11.h': [ | 269 'third_party/libva/va/va_x11.h': [ |
270 'UNKNOWN', | 270 'UNKNOWN', |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 option_parser.add_option('--ignore-suppressions', | 537 option_parser.add_option('--ignore-suppressions', |
538 action='store_true', | 538 action='store_true', |
539 default=False, | 539 default=False, |
540 help='Ignore path-specific license whitelist.') | 540 help='Ignore path-specific license whitelist.') |
541 options, args = option_parser.parse_args() | 541 options, args = option_parser.parse_args() |
542 return check_licenses(options, args) | 542 return check_licenses(options, args) |
543 | 543 |
544 | 544 |
545 if '__main__' == __name__: | 545 if '__main__' == __name__: |
546 sys.exit(main()) | 546 sys.exit(main()) |
OLD | NEW |