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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ], | 107 ], |
108 | 108 |
109 # http://code.google.com/p/google-breakpad/issues/detail?id=450 | 109 # http://code.google.com/p/google-breakpad/issues/detail?id=450 |
110 'breakpad/src': [ | 110 'breakpad/src': [ |
111 'UNKNOWN', | 111 'UNKNOWN', |
112 ], | 112 ], |
113 | 113 |
114 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 | 114 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 |
115 'UNKNOWN', | 115 'UNKNOWN', |
116 ], | 116 ], |
| 117 # This contains files copied from elsewhere from the tree. Since the copied |
| 118 # directories might have suppressions below (like simplejson), whitelist the |
| 119 # whole directory. This is also not shipped code. |
| 120 'chrome/common/extensions/docs/server2/third_party': [ |
| 121 'UNKNOWN', |
| 122 ], |
117 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 123 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 |
118 'UNKNOWN', | 124 'UNKNOWN', |
119 ], | 125 ], |
120 'native_client': [ # http://crbug.com/98099 | 126 'native_client': [ # http://crbug.com/98099 |
121 'UNKNOWN', | 127 'UNKNOWN', |
122 ], | 128 ], |
123 'native_client/toolchain': [ | 129 'native_client/toolchain': [ |
124 'BSD GPL (v2 or later)', | 130 'BSD GPL (v2 or later)', |
125 'BSD (2 clause) GPL (v2 or later)', | 131 'BSD (2 clause) GPL (v2 or later)', |
126 'BSD (3 clause) GPL (v2 or later)', | 132 'BSD (3 clause) GPL (v2 or later)', |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 action='store_true', | 525 action='store_true', |
520 default=False, | 526 default=False, |
521 help='Ignore path-specific license whitelist.') | 527 help='Ignore path-specific license whitelist.') |
522 option_parser.add_option('--json', help='Path to JSON output file') | 528 option_parser.add_option('--json', help='Path to JSON output file') |
523 options, args = option_parser.parse_args() | 529 options, args = option_parser.parse_args() |
524 return check_licenses(options, args) | 530 return check_licenses(options, args) |
525 | 531 |
526 | 532 |
527 if '__main__' == __name__: | 533 if '__main__' == __name__: |
528 sys.exit(main()) | 534 sys.exit(main()) |
OLD | NEW |