| 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 import argparse | 6 import argparse |
| 7 import json | 7 import json |
| 8 import os | 8 import os |
| 9 import subprocess | 9 import subprocess |
| 10 import sys | 10 import sys |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 "third_party/zlib", | 62 "third_party/zlib", |
| 63 "tools/android", | 63 "tools/android", |
| 64 "tools/clang", | 64 "tools/clang", |
| 65 "tools/gdb", | 65 "tools/gdb", |
| 66 "tools/generate_library_loader", | 66 "tools/generate_library_loader", |
| 67 "tools/git", | 67 "tools/git", |
| 68 "tools/gritsettings", | 68 "tools/gritsettings", |
| 69 "tools/idl_parser", | 69 "tools/idl_parser", |
| 70 "tools/json_comment_eater", | 70 "tools/json_comment_eater", |
| 71 "tools/linux", | 71 "tools/linux", |
| 72 "tools/lsan", | |
| 73 "tools/msan", | 72 "tools/msan", |
| 74 "tools/protoc_wrapper", | 73 "tools/protoc_wrapper", |
| 75 "tools/relocation_packer", | 74 "tools/relocation_packer", |
| 76 "tools/valgrind", | 75 "tools/valgrind", |
| 77 "tools/vim", | 76 "tools/vim", |
| 78 "tools/xdisplaycheck", | 77 "tools/xdisplaycheck", |
| 79 "url", | 78 "url", |
| 80 "ui/gl", | 79 "ui/gl", |
| 81 ] | 80 ] |
| 82 | 81 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 129 |
| 131 print "Restoring files whose contents don't track Chromium" | 130 print "Restoring files whose contents don't track Chromium" |
| 132 for f in files_not_to_roll: | 131 for f in files_not_to_roll: |
| 133 system(["git", "checkout", pre_roll_commit, "--", f], cwd=mojo_root_dir) | 132 system(["git", "checkout", pre_roll_commit, "--", f], cwd=mojo_root_dir) |
| 134 if files_not_to_roll: | 133 if files_not_to_roll: |
| 135 commit("Restored pre-roll versions of files that don't get rolled") | 134 commit("Restored pre-roll versions of files that don't get rolled") |
| 136 return 0 | 135 return 0 |
| 137 | 136 |
| 138 if __name__ == "__main__": | 137 if __name__ == "__main__": |
| 139 sys.exit(main()) | 138 sys.exit(main()) |
| OLD | NEW |