OLD | NEW |
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 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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)) |
OLD | NEW |