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

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

Issue 8423038: Move GL headers from gpu to third_party/khronos (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « third_party/khronos/README.chromium ('k') | ui/gfx/gl/generate_bindings.py » ('j') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 # TODO(phajdan.jr): Make licensecheck not print the comma after 1.1. 72 # TODO(phajdan.jr): Make licensecheck not print the comma after 1.1.
73 'MPL (v1.1,) GPL (unversioned/unknown version) LGPL (v2 or later)', 73 'MPL (v1.1,) GPL (unversioned/unknown version) LGPL (v2 or later)',
74 'MPL (v1.1,) GPL (unversioned/unknown version) LGPL (v2.1 or later)', 74 'MPL (v1.1,) GPL (unversioned/unknown version) LGPL (v2.1 or later)',
75 75
76 'MIT/X11 (BSD like)', 76 'MIT/X11 (BSD like)',
77 'Ms-PL', 77 'Ms-PL',
78 'Public domain', 78 'Public domain',
79 'libpng', 79 'libpng',
80 'zlib/libpng', 80 'zlib/libpng',
81 'SGI Free Software License B',
81 ] 82 ]
82 83
83 84
84 PATH_SPECIFIC_WHITELISTED_LICENSES = { 85 PATH_SPECIFIC_WHITELISTED_LICENSES = {
85 'base/third_party/dmg_fp': [ # http://crbug.com/98086 86 'base/third_party/dmg_fp': [ # http://crbug.com/98086
86 'UNKNOWN', 87 'UNKNOWN',
87 ], 88 ],
88 'base/third_party/icu': [ # http://crbug.com/98087 89 'base/third_party/icu': [ # http://crbug.com/98087
89 'UNKNOWN', 90 'UNKNOWN',
90 ], 91 ],
(...skipping 16 matching lines...) Expand all
107 'UNKNOWN', 108 'UNKNOWN',
108 ], 109 ],
109 'data/page_cycler': [ 110 'data/page_cycler': [
110 'UNKNOWN', 111 'UNKNOWN',
111 'GPL (v2 or later)', 112 'GPL (v2 or later)',
112 ], 113 ],
113 'data/tab_switching': [ 114 'data/tab_switching': [
114 'UNKNOWN', 115 'UNKNOWN',
115 ], 116 ],
116 'googleurl': [ # http://code.google.com/p/google-url/issues/detail?id=15 117 'googleurl': [ # http://code.google.com/p/google-url/issues/detail?id=15
117 'UNKNOWN', 118 'UNKNOWN',
Paweł Hajdan Jr. 2011/11/02 17:46:47 Excellent, thank you! One little thing: could you
Sami 2011/11/02 18:24:25 Sure, here are the results. Without the changes:
Paweł Hajdan Jr. 2011/11/02 18:28:31 Awesome, the speed doesn't seem affected much. Tha
118 ], 119 ],
119 120
120 # http://crbug.com/98097
121 'gpu/GLES2': [
122 'UNKNOWN',
123 ],
124 'gpu/KHR': [
125 'UNKNOWN',
126 ],
127 'gpu/gles2_conform_support/egl/native/EGL': [
128 'UNKNOWN',
129 ],
130 'gpu/EGL': [
131 'UNKNOWN',
132 ],
133
134 'native_client': [ # http://crbug.com/98099 121 'native_client': [ # http://crbug.com/98099
135 'UNKNOWN', 122 'UNKNOWN',
136 ], 123 ],
137 'native_client/toolchain': [ 124 'native_client/toolchain': [
138 'BSD GPL (v2 or later)', 125 'BSD GPL (v2 or later)',
139 'BSD (2 clause) GPL (v2 or later)', 126 'BSD (2 clause) GPL (v2 or later)',
140 'BSD (3 clause) GPL (v2 or later)', 127 'BSD (3 clause) GPL (v2 or later)',
141 'BSL (v1.0) GPL', 128 'BSL (v1.0) GPL',
142 'GPL', 129 'GPL',
143 'GPL (unversioned/unknown version)', 130 'GPL (unversioned/unknown version)',
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 'to "../.." relative to the script file, which ' 503 'to "../.." relative to the script file, which '
517 'will normally be the repository root.') 504 'will normally be the repository root.')
518 option_parser.add_option('-v', '--verbose', action='store_true', 505 option_parser.add_option('-v', '--verbose', action='store_true',
519 default=False, help='Print debug logging') 506 default=False, help='Print debug logging')
520 option_parser.add_option('--ignore-suppressions', 507 option_parser.add_option('--ignore-suppressions',
521 action='store_true', 508 action='store_true',
522 default=False, 509 default=False,
523 help='Ignore path-specific license whitelist.') 510 help='Ignore path-specific license whitelist.')
524 options, args = option_parser.parse_args() 511 options, args = option_parser.parse_args()
525 main(options, args) 512 main(options, args)
OLDNEW
« no previous file with comments | « third_party/khronos/README.chromium ('k') | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698