| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 help='Directory to output LICENSE.html to.') | 122 help='Directory to output LICENSE.html to.') |
| 123 parser.add_argument('buildfile_dirs', nargs="+", | 123 parser.add_argument('buildfile_dirs', nargs="+", |
| 124 help='Directories containing gn generated ninja files') | 124 help='Directories containing gn generated ninja files') |
| 125 args = parser.parse_args() | 125 args = parser.parse_args() |
| 126 builder = LicenseBuilder(args.buildfile_dirs, args.target_name) | 126 builder = LicenseBuilder(args.buildfile_dirs, args.target_name) |
| 127 sys.exit(builder.GenerateLicenseText(args.output_dir)) | 127 sys.exit(builder.GenerateLicenseText(args.output_dir)) |
| 128 | 128 |
| 129 | 129 |
| 130 if __name__ == '__main__': | 130 if __name__ == '__main__': |
| 131 main() | 131 main() |
| OLD | NEW |