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

Side by Side Diff: tools/licenses.py

Issue 1803004: licenses: don't double-include NSS (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 8 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
« no previous file with comments | « chrome/browser/resources/about_credits.html ('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/python 1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 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 25 matching lines...) Expand all
36 36
37 # Not in the public Chromium tree. 37 # Not in the public Chromium tree.
38 "third_party/adobe", 38 "third_party/adobe",
39 39
40 # Written as part of Chromium. 40 # Written as part of Chromium.
41 "third_party/fuzzymatch", 41 "third_party/fuzzymatch",
42 42
43 # Two directories that are the same as those in base/third_party. 43 # Two directories that are the same as those in base/third_party.
44 "v8/src/third_party/dtoa", 44 "v8/src/third_party/dtoa",
45 "v8/src/third_party/valgrind", 45 "v8/src/third_party/valgrind",
46 # Same module occurs in base/ and in net/, so skip one of them.
wtc 2010/04/27 20:58:31 Nit: add a blank line before this comment to follo
47 "net/third_party/nss",
46 ]) 48 ])
47 49
48 # Directories we don't scan through. 50 # Directories we don't scan through.
49 PRUNE_DIRS = ('.svn', '.git', # VCS metadata 51 PRUNE_DIRS = ('.svn', '.git', # VCS metadata
50 'out', 'Debug', 'Release', # build files 52 'out', 'Debug', 'Release', # build files
51 'layout_tests') # lots of subdirs 53 'layout_tests') # lots of subdirs
52 54
53 # Directories where we check out directly from upstream, and therefore 55 # Directories where we check out directly from upstream, and therefore
54 # can't provide a README.chromium. Please prefer a README.chromium 56 # can't provide a README.chromium. Please prefer a README.chromium
55 # wherever possible. 57 # wherever possible.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 227
226 if command == 'scan': 228 if command == 'scan':
227 if not ScanThirdPartyDirs(): 229 if not ScanThirdPartyDirs():
228 sys.exit(1) 230 sys.exit(1)
229 elif command == 'credits': 231 elif command == 'credits':
230 if not GenerateCredits(): 232 if not GenerateCredits():
231 sys.exit(1) 233 sys.exit(1)
232 else: 234 else:
233 print __doc__ 235 print __doc__
234 sys.exit(1) 236 sys.exit(1)
OLDNEW
« no previous file with comments | « chrome/browser/resources/about_credits.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698