| 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 """Utility for checking and processing licensing information in third_party | 6 """Utility for checking and processing licensing information in third_party |
| 7 directories. | 7 directories. |
| 8 | 8 |
| 9 Usage: licenses.py <command> | 9 Usage: licenses.py <command> |
| 10 | 10 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 os.path.join('base', 'third_party', 'xdg_user_dirs'), | 259 os.path.join('base', 'third_party', 'xdg_user_dirs'), |
| 260 os.path.join('chrome', 'installer', 'mac', 'third_party', 'bsdiff'), | 260 os.path.join('chrome', 'installer', 'mac', 'third_party', 'bsdiff'), |
| 261 os.path.join('chrome', 'installer', 'mac', 'third_party', 'xz'), | 261 os.path.join('chrome', 'installer', 'mac', 'third_party', 'xz'), |
| 262 os.path.join('chrome', 'test', 'data', 'third_party', 'kraken'), | 262 os.path.join('chrome', 'test', 'data', 'third_party', 'kraken'), |
| 263 os.path.join('chrome', 'test', 'data', 'third_party', 'spaceport'), | 263 os.path.join('chrome', 'test', 'data', 'third_party', 'spaceport'), |
| 264 os.path.join('chrome', 'third_party', 'mock4js'), | 264 os.path.join('chrome', 'third_party', 'mock4js'), |
| 265 os.path.join('chrome', 'third_party', 'mozilla_security_manager'), | 265 os.path.join('chrome', 'third_party', 'mozilla_security_manager'), |
| 266 os.path.join('third_party', 'WebKit'), | 266 os.path.join('third_party', 'WebKit'), |
| 267 os.path.join('third_party', 'angle'), | 267 os.path.join('third_party', 'angle'), |
| 268 os.path.join('third_party', 'apple_apsl'), | 268 os.path.join('third_party', 'apple_apsl'), |
| 269 os.path.join('third_party', 'apple_sample_code'), | |
| 270 os.path.join('third_party', 'ashmem'), | 269 os.path.join('third_party', 'ashmem'), |
| 271 os.path.join('third_party', 'bspatch'), | 270 os.path.join('third_party', 'bspatch'), |
| 272 os.path.join('third_party', 'cacheinvalidation'), | 271 os.path.join('third_party', 'cacheinvalidation'), |
| 273 os.path.join('third_party', 'cld'), | 272 os.path.join('third_party', 'cld'), |
| 274 os.path.join('third_party', 'codesighs'), | 273 os.path.join('third_party', 'codesighs'), |
| 275 os.path.join('third_party', 'flot'), | 274 os.path.join('third_party', 'flot'), |
| 276 os.path.join('third_party', 'gtk+'), | 275 os.path.join('third_party', 'gtk+'), |
| 277 os.path.join('third_party', 'iaccessible2'), | 276 os.path.join('third_party', 'iaccessible2'), |
| 278 os.path.join('third_party', 'iccjpeg'), | 277 os.path.join('third_party', 'iccjpeg'), |
| 279 os.path.join('third_party', 'isimpledom'), | 278 os.path.join('third_party', 'isimpledom'), |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 if not GenerateCredits(args.file_template, args.entry_template, | 561 if not GenerateCredits(args.file_template, args.entry_template, |
| 563 args.output_file, args.target_os): | 562 args.output_file, args.target_os): |
| 564 return 1 | 563 return 1 |
| 565 else: | 564 else: |
| 566 print __doc__ | 565 print __doc__ |
| 567 return 1 | 566 return 1 |
| 568 | 567 |
| 569 | 568 |
| 570 if __name__ == '__main__': | 569 if __name__ == '__main__': |
| 571 sys.exit(main()) | 570 sys.exit(main()) |
| OLD | NEW |