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

Side by Side Diff: components/cronet/tools/cronet_licenses.py

Issue 513413002: Cronet license now includes boringssl instead of openssl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | 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 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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 """Generates the contents of an Cronet LICENSE file for the third-party code. 6 """Generates the contents of an Cronet LICENSE file for the third-party code.
7 7
8 It makes use of src/tools/licenses.py and the README.chromium files on which 8 It makes use of src/tools/licenses.py and the README.chromium files on which
9 it depends. Based on android_webview/tools/webview_licenses.py. 9 it depends. Based on android_webview/tools/webview_licenses.py.
10 """ 10 """
(...skipping 23 matching lines...) Expand all
34 """Generates the contents of an Cronet LICENSE file for the third-party code. 34 """Generates the contents of an Cronet LICENSE file for the third-party code.
35 Returns: 35 Returns:
36 The contents of the LICENSE file. 36 The contents of the LICENSE file.
37 """ 37 """
38 # TODO(mef): Generate list of third_party libraries using checkdeps. 38 # TODO(mef): Generate list of third_party libraries using checkdeps.
39 third_party_dirs = [ 39 third_party_dirs = [
40 "libevent", 40 "libevent",
41 "ashmem", 41 "ashmem",
42 "zlib", 42 "zlib",
43 "modp_b64", 43 "modp_b64",
44 "openssl" 44 "boringssl"
45 ] 45 ]
46 46
47 # Start with Chromium's LICENSE file 47 # Start with Chromium's LICENSE file
48 content = [_ReadFile('LICENSE')] 48 content = [_ReadFile('LICENSE')]
49 49
50 # Add necessary third_party. 50 # Add necessary third_party.
51 for directory in sorted(third_party_dirs): 51 for directory in sorted(third_party_dirs):
52 metadata = licenses.ParseDir("third_party/" + directory, REPOSITORY_ROOT, 52 metadata = licenses.ParseDir("third_party/" + directory, REPOSITORY_ROOT,
53 require_license_file=True) 53 require_license_file=True)
54 content.append("-" * 20) 54 content.append("-" * 20)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 else: 90 else:
91 print GenerateLicense() 91 print GenerateLicense()
92 return 0 92 return 0
93 93
94 parser.print_help() 94 parser.print_help()
95 return 1 95 return 1
96 96
97 97
98 if __name__ == '__main__': 98 if __name__ == '__main__':
99 sys.exit(main()) 99 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698