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

Side by Side Diff: webrtc/build/ios/generate_licenses.py

Issue 1949953002: Fix BoringSSL license path. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 2
3 # Copyright 2016 The WebRTC project authors. All Rights Reserved. 3 # Copyright 2016 The WebRTC project authors. All Rights Reserved.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license 5 # Use of this source code is governed by a BSD-style license
6 # that can be found in the LICENSE file in the root of the source 6 # that can be found in the LICENSE file in the root of the source
7 # tree. An additional intellectual property rights grant can be found 7 # tree. An additional intellectual property rights grant can be found
8 # in the file PATENTS. All contributing project authors may 8 # in the file PATENTS. All contributing project authors may
9 # be found in the AUTHORS file in the root of the source tree. 9 # be found in the AUTHORS file in the root of the source tree.
10 10
11 """Generates license HTML for a prebuilt version of WebRTC for iOS.""" 11 """Generates license HTML for a prebuilt version of WebRTC for iOS."""
12 12
13 import sys 13 import sys
14 14
15 import argparse 15 import argparse
16 import cgi 16 import cgi
17 import fnmatch 17 import fnmatch
18 import os 18 import os
19 import re 19 import re
20 import textwrap 20 import textwrap
21 21
22 22
23 LIB_TO_LICENSES_DICT = { 23 LIB_TO_LICENSES_DICT = {
24 'boringssl': ['third_party/boringssl/NOTICE'], 24 'boringssl': ['third_party/boringssl/src/LICENSE'],
25 'expat': ['third_party/expat/files/COPYING'], 25 'expat': ['third_party/expat/files/COPYING'],
26 'jsoncpp': ['third_party/jsoncpp/LICENSE'], 26 'jsoncpp': ['third_party/jsoncpp/LICENSE'],
27 'opus': ['third_party/opus/src/COPYING'], 27 'opus': ['third_party/opus/src/COPYING'],
28 'protobuf_lite': ['third_party/protobuf/LICENSE'], 28 'protobuf_lite': ['third_party/protobuf/LICENSE'],
29 'srtp': ['third_party/libsrtp/srtp/LICENSE'], 29 'srtp': ['third_party/libsrtp/srtp/LICENSE'],
30 'usrsctplib': ['third_party/usrsctp/LICENSE'], 30 'usrsctplib': ['third_party/usrsctp/LICENSE'],
31 'webrtc': ['webrtc/LICENSE', 'webrtc/LICENSE_THIRD_PARTY'], 31 'webrtc': ['webrtc/LICENSE', 'webrtc/LICENSE_THIRD_PARTY'],
32 'vpx': ['third_party/libvpx/source/libvpx/LICENSE'], 32 'vpx': ['third_party/libvpx/source/libvpx/LICENSE'],
33 'yuv': ['third_party/libyuv/LICENSE'], 33 'yuv': ['third_party/libyuv/LICENSE'],
34 } 34 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 if __name__ == '__main__': 137 if __name__ == '__main__':
138 parser = argparse.ArgumentParser(description='Generate WebRTC LICENSE.html') 138 parser = argparse.ArgumentParser(description='Generate WebRTC LICENSE.html')
139 parser.add_argument('static_lib_dir', 139 parser.add_argument('static_lib_dir',
140 help='Directory with built static libraries.') 140 help='Directory with built static libraries.')
141 parser.add_argument('output_dir', 141 parser.add_argument('output_dir',
142 help='Directory to output LICENSE.html to.') 142 help='Directory to output LICENSE.html to.')
143 args = parser.parse_args() 143 args = parser.parse_args()
144 builder = LicenseBuilder() 144 builder = LicenseBuilder()
145 sys.exit(builder.GenerateLicenseText(args.static_lib_dir, args.output_dir)) 145 sys.exit(builder.GenerateLicenseText(args.static_lib_dir, args.output_dir))
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