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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 PATH_SPECIFIC_WHITELISTED_LICENSES = { | 105 PATH_SPECIFIC_WHITELISTED_LICENSES = { |
106 'base/third_party/icu': [ # http://crbug.com/98087 | 106 'base/third_party/icu': [ # http://crbug.com/98087 |
107 'UNKNOWN', | 107 'UNKNOWN', |
108 ], | 108 ], |
109 | 109 |
110 # http://code.google.com/p/google-breakpad/issues/detail?id=450 | 110 # http://code.google.com/p/google-breakpad/issues/detail?id=450 |
111 'breakpad/src': [ | 111 'breakpad/src': [ |
112 'UNKNOWN', | 112 'UNKNOWN', |
113 ], | 113 ], |
114 | 114 |
| 115 'buildtools/third_party/libc++/trunk/test': [ |
| 116 # http://llvm.org/bugs/show_bug.cgi?id=18291 |
| 117 'UNKNOWN', |
| 118 ], |
| 119 |
115 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 | 120 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 |
116 'UNKNOWN', | 121 'UNKNOWN', |
117 ], | 122 ], |
118 # 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 |
119 # directories might have suppressions below (like simplejson), whitelist the | 124 # directories might have suppressions below (like simplejson), whitelist the |
120 # whole directory. This is also not shipped code. | 125 # whole directory. This is also not shipped code. |
121 'chrome/common/extensions/docs/server2/third_party': [ | 126 'chrome/common/extensions/docs/server2/third_party': [ |
122 'UNKNOWN', | 127 'UNKNOWN', |
123 ], | 128 ], |
124 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 action='store_true', | 540 action='store_true', |
536 default=False, | 541 default=False, |
537 help='Ignore path-specific license whitelist.') | 542 help='Ignore path-specific license whitelist.') |
538 option_parser.add_option('--json', help='Path to JSON output file') | 543 option_parser.add_option('--json', help='Path to JSON output file') |
539 options, args = option_parser.parse_args() | 544 options, args = option_parser.parse_args() |
540 return check_licenses(options, args) | 545 return check_licenses(options, args) |
541 | 546 |
542 | 547 |
543 if '__main__' == __name__: | 548 if '__main__' == __name__: |
544 sys.exit(main()) | 549 sys.exit(main()) |
OLD | NEW |