Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: tools/checklicenses/checklicenses.py

Issue 1907603005: Add a dependency for FlatBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitelist flatbuffers for license check Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/flatbuffers/flatc.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 'third_party/expat/files/lib': [ # http://crbug.com/98121 339 'third_party/expat/files/lib': [ # http://crbug.com/98121
340 'UNKNOWN', 340 'UNKNOWN',
341 ], 341 ],
342 'third_party/ffmpeg': [ 342 'third_party/ffmpeg': [
343 'GPL', 343 'GPL',
344 'GPL (v2)', 344 'GPL (v2)',
345 'GPL (v2 or later)', 345 'GPL (v2 or later)',
346 'GPL (v3 or later)', 346 'GPL (v3 or later)',
347 'UNKNOWN', # http://crbug.com/98123 347 'UNKNOWN', # http://crbug.com/98123
348 ], 348 ],
349 # Flatbuffers is known to be licenced under an Apache (v2.0) license.
Paweł Hajdan Jr. 2016/05/06 10:22:02 Do the files have license headers or do we just fa
350 'third_party/flatbuffers': [
351 'UNKNOWN',
352 ],
349 'third_party/fontconfig': [ 353 'third_party/fontconfig': [
350 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 354 # https://bugs.freedesktop.org/show_bug.cgi?id=73401
351 'UNKNOWN', 355 'UNKNOWN',
352 ], 356 ],
353 'third_party/freetype2': [ # http://crbug.com/177319 357 'third_party/freetype2': [ # http://crbug.com/177319
354 'UNKNOWN', 358 'UNKNOWN',
355 ], 359 ],
356 'third_party/freetype-android': [ # http://crbug.com/177319 360 'third_party/freetype-android': [ # http://crbug.com/177319
357 'UNKNOWN', 361 'UNKNOWN',
358 ], 362 ],
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 action='store_true', 759 action='store_true',
756 default=False, 760 default=False,
757 help='Ignore path-specific license whitelist.') 761 help='Ignore path-specific license whitelist.')
758 option_parser.add_option('--json', help='Path to JSON output file') 762 option_parser.add_option('--json', help='Path to JSON output file')
759 options, args = option_parser.parse_args() 763 options, args = option_parser.parse_args()
760 return check_licenses(options, args) 764 return check_licenses(options, args)
761 765
762 766
763 if '__main__' == __name__: 767 if '__main__' == __name__:
764 sys.exit(main()) 768 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/flatbuffers/flatc.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698