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

Side by Side Diff: tools/licenses.py

Issue 2171663002: Revert of Roll gtest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « tools/checklicenses/checklicenses.py ('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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 ADDITIONAL_PATHS = ( 104 ADDITIONAL_PATHS = (
105 os.path.join('breakpad'), 105 os.path.join('breakpad'),
106 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'), 106 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'),
107 os.path.join('chrome', 'test', 'chromeos', 'autotest'), 107 os.path.join('chrome', 'test', 'chromeos', 'autotest'),
108 os.path.join('chrome', 'test', 'data'), 108 os.path.join('chrome', 'test', 'data'),
109 os.path.join('native_client'), 109 os.path.join('native_client'),
110 os.path.join('net', 'tools', 'spdyshark'), 110 os.path.join('net', 'tools', 'spdyshark'),
111 os.path.join('sdch', 'open-vcdiff'), 111 os.path.join('sdch', 'open-vcdiff'),
112 os.path.join('testing', 'gmock'), 112 os.path.join('testing', 'gmock'),
113 os.path.join('testing', 'gtest'),
113 os.path.join('tools', 'gyp'), 114 os.path.join('tools', 'gyp'),
114 os.path.join('tools', 'page_cycler', 'acid3'), 115 os.path.join('tools', 'page_cycler', 'acid3'),
115 os.path.join('url', 'third_party', 'mozilla'), 116 os.path.join('url', 'third_party', 'mozilla'),
116 os.path.join('v8'), 117 os.path.join('v8'),
117 # Fake directories to include the strongtalk and fdlibm licenses. 118 # Fake directories to include the strongtalk and fdlibm licenses.
118 os.path.join('v8', 'strongtalk'), 119 os.path.join('v8', 'strongtalk'),
119 os.path.join('v8', 'fdlibm'), 120 os.path.join('v8', 'fdlibm'),
120 ) 121 )
121 122
122 123
(...skipping 11 matching lines...) Expand all
134 "URL": "https://github.com/google/open-vcdiff", 135 "URL": "https://github.com/google/open-vcdiff",
135 "License": "Apache 2.0, MIT, GPL v2 and custom licenses", 136 "License": "Apache 2.0, MIT, GPL v2 and custom licenses",
136 "License Android Compatible": "yes", 137 "License Android Compatible": "yes",
137 }, 138 },
138 os.path.join('testing', 'gmock'): { 139 os.path.join('testing', 'gmock'): {
139 "Name": "gmock", 140 "Name": "gmock",
140 "URL": "http://code.google.com/p/googlemock", 141 "URL": "http://code.google.com/p/googlemock",
141 "License": "BSD", 142 "License": "BSD",
142 "License File": "NOT_SHIPPED", 143 "License File": "NOT_SHIPPED",
143 }, 144 },
144 os.path.join('testing', 'third_party', 'googletest'): { 145 os.path.join('testing', 'gtest'): {
145 "Name": "gtest", 146 "Name": "gtest",
146 "URL": "http://code.google.com/p/googletest", 147 "URL": "http://code.google.com/p/googletest",
147 "License": "BSD", 148 "License": "BSD",
148 "License File": "NOT_SHIPPED", 149 "License File": "NOT_SHIPPED",
149 }, 150 },
150 os.path.join('third_party', 'angle'): { 151 os.path.join('third_party', 'angle'): {
151 "Name": "Almost Native Graphics Layer Engine", 152 "Name": "Almost Native Graphics Layer Engine",
152 "URL": "http://code.google.com/p/angleproject/", 153 "URL": "http://code.google.com/p/angleproject/",
153 "License": "BSD", 154 "License": "BSD",
154 }, 155 },
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 if not GenerateCredits(args.file_template, args.entry_template, 565 if not GenerateCredits(args.file_template, args.entry_template,
565 args.output_file, args.target_os): 566 args.output_file, args.target_os):
566 return 1 567 return 1
567 else: 568 else:
568 print __doc__ 569 print __doc__
569 return 1 570 return 1
570 571
571 572
572 if __name__ == '__main__': 573 if __name__ == '__main__':
573 sys.exit(main()) 574 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/checklicenses/checklicenses.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698