OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2013 the V8 project authors. All rights reserved. | 2 # Copyright 2013 the V8 project authors. All rights reserved. |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following | 10 # copyright notice, this list of conditions and the following |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 return False | 541 return False |
542 return True | 542 return True |
543 | 543 |
544 | 544 |
545 def Main(): | 545 def Main(): |
546 parser = BuildOptions() | 546 parser = BuildOptions() |
547 (options, args) = parser.parse_args() | 547 (options, args) = parser.parse_args() |
548 if not ProcessOptions(options): | 548 if not ProcessOptions(options): |
549 parser.print_help() | 549 parser.print_help() |
550 return 1 | 550 return 1 |
551 RunScript(CONFIG, options) | 551 RunPushToTrunk(CONFIG, options) |
552 | 552 |
553 if __name__ == "__main__": | 553 if __name__ == "__main__": |
554 sys.exit(Main()) | 554 sys.exit(Main()) |
OLD | NEW |