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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 ], | 122 ], |
123 # This contains files copied from elsewhere from the tree. Since the copied | 123 # This contains files copied from elsewhere from the tree. Since the copied |
124 # directories might have suppressions below (like simplejson), whitelist the | 124 # directories might have suppressions below (like simplejson), whitelist the |
125 # whole directory. This is also not shipped code. | 125 # whole directory. This is also not shipped code. |
126 'chrome/common/extensions/docs/server2/third_party': [ | 126 'chrome/common/extensions/docs/server2/third_party': [ |
127 'UNKNOWN', | 127 'UNKNOWN', |
128 ], | 128 ], |
129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 |
130 'UNKNOWN', | 130 'UNKNOWN', |
131 ], | 131 ], |
132 'courgette/third_party/qsufsort.h': [ | |
Lei Zhang
2015/08/10 19:31:05
Care to also pile this in with http://crbug.com/98
huangs
2015/08/10 19:47:21
Done -- unless you mean to fix the bug?
| |
133 'UNKNOWN', | |
134 ], | |
132 'native_client': [ # http://crbug.com/98099 | 135 'native_client': [ # http://crbug.com/98099 |
133 'UNKNOWN', | 136 'UNKNOWN', |
134 ], | 137 ], |
135 'native_client/toolchain': [ | 138 'native_client/toolchain': [ |
136 'BSD GPL (v2 or later)', | 139 'BSD GPL (v2 or later)', |
137 'BSD MIT/X11 (BSD like)', | 140 'BSD MIT/X11 (BSD like)', |
138 'BSD (2 clause) GPL (v2 or later)', | 141 'BSD (2 clause) GPL (v2 or later)', |
139 'BSD (3 clause) GPL (v2 or later)', | 142 'BSD (3 clause) GPL (v2 or later)', |
140 'BSD (4 clause) ISC', | 143 'BSD (4 clause) ISC', |
141 'BSL (v1.0) GPL', | 144 'BSL (v1.0) GPL', |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
646 action='store_true', | 649 action='store_true', |
647 default=False, | 650 default=False, |
648 help='Ignore path-specific license whitelist.') | 651 help='Ignore path-specific license whitelist.') |
649 option_parser.add_option('--json', help='Path to JSON output file') | 652 option_parser.add_option('--json', help='Path to JSON output file') |
650 options, args = option_parser.parse_args() | 653 options, args = option_parser.parse_args() |
651 return check_licenses(options, args) | 654 return check_licenses(options, args) |
652 | 655 |
653 | 656 |
654 if '__main__' == __name__: | 657 if '__main__' == __name__: |
655 sys.exit(main()) | 658 sys.exit(main()) |
OLD | NEW |