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

Side by Side Diff: tools/licenses.py

Issue 10828117: Fix license metadata for ppapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 8 years, 4 months 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 | « ppapi/README.chromium ('k') | no next file » | 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/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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 ]) 88 ])
89 89
90 # Directories we don't scan through. 90 # Directories we don't scan through.
91 PRUNE_DIRS = ('.svn', '.git', # VCS metadata 91 PRUNE_DIRS = ('.svn', '.git', # VCS metadata
92 'out', 'Debug', 'Release', # build files 92 'out', 'Debug', 'Release', # build files
93 'layout_tests') # lots of subdirs 93 'layout_tests') # lots of subdirs
94 94
95 ADDITIONAL_PATHS = ( 95 ADDITIONAL_PATHS = (
96 os.path.join('googleurl'), 96 os.path.join('googleurl'),
97 os.path.join('native_client_sdk'), 97 os.path.join('native_client_sdk'),
98 os.path.join('ppapi'),
98 # The directory with the word list for Chinese and Japanese segmentation 99 # The directory with the word list for Chinese and Japanese segmentation
99 # with different license terms than ICU. 100 # with different license terms than ICU.
100 os.path.join('third_party','icu','source','data','brkitr'), 101 os.path.join('third_party','icu','source','data','brkitr'),
101 # Fake directory so we can include the strongtalk license. 102 # Fake directory so we can include the strongtalk license.
102 os.path.join('v8', 'strongtalk'), 103 os.path.join('v8', 'strongtalk'),
103 ) 104 )
104 105
105 106
106 # Directories where we check out directly from upstream, and therefore 107 # Directories where we check out directly from upstream, and therefore
107 # can't provide a README.chromium. Please prefer a README.chromium 108 # can't provide a README.chromium. Please prefer a README.chromium
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 elif command == 'credits': 391 elif command == 'credits':
391 if not GenerateCredits(): 392 if not GenerateCredits():
392 return 1 393 return 1
393 else: 394 else:
394 print __doc__ 395 print __doc__
395 return 1 396 return 1
396 397
397 398
398 if __name__ == '__main__': 399 if __name__ == '__main__':
399 sys.exit(main()) 400 sys.exit(main())
OLDNEW
« no previous file with comments | « ppapi/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698