OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env 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 """Compare the artifacts from two builds.""" | 6 """Compare the artifacts from two builds.""" |
7 | 7 |
8 import difflib | 8 import difflib |
9 import json | 9 import json |
10 import optparse | 10 import optparse |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 parser.error('--target-platform is required') | 587 parser.error('--target-platform is required') |
588 | 588 |
589 return compare_build_artifacts(os.path.abspath(options.first_build_dir), | 589 return compare_build_artifacts(os.path.abspath(options.first_build_dir), |
590 os.path.abspath(options.second_build_dir), | 590 os.path.abspath(options.second_build_dir), |
591 options.target_platform, | 591 options.target_platform, |
592 options.recursive) | 592 options.recursive) |
593 | 593 |
594 | 594 |
595 if __name__ == '__main__': | 595 if __name__ == '__main__': |
596 sys.exit(main()) | 596 sys.exit(main()) |
OLD | NEW |