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 30 matching lines...) Expand all Loading... |
41 "third_party/jstemplate", | 41 "third_party/jstemplate", |
42 "third_party/khronos", | 42 "third_party/khronos", |
43 "third_party/libXNVCtrl", | 43 "third_party/libXNVCtrl", |
44 "third_party/libevent", | 44 "third_party/libevent", |
45 "third_party/libjpeg", | 45 "third_party/libjpeg", |
46 "third_party/libpng", | 46 "third_party/libpng", |
47 "third_party/libxml", | 47 "third_party/libxml", |
48 "third_party/markupsafe", | 48 "third_party/markupsafe", |
49 "third_party/mesa", | 49 "third_party/mesa", |
50 "third_party/modp_b64", | 50 "third_party/modp_b64", |
| 51 "third_party/ots", |
51 "third_party/ply", | 52 "third_party/ply", |
52 "third_party/protobuf", | 53 "third_party/protobuf", |
53 "third_party/pymock", | 54 "third_party/pymock", |
54 "third_party/qcms", | 55 "third_party/qcms", |
55 "third_party/re2", | 56 "third_party/re2", |
56 "third_party/sfntly", | 57 "third_party/sfntly", |
57 "third_party/smhasher", | 58 "third_party/smhasher", |
58 "third_party/tcmalloc", | 59 "third_party/tcmalloc", |
59 "third_party/yasm", | 60 "third_party/yasm", |
60 "third_party/zlib", | 61 "third_party/zlib", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 129 |
129 print "Restoring files whose contents don't track Chromium" | 130 print "Restoring files whose contents don't track Chromium" |
130 for f in files_not_to_roll: | 131 for f in files_not_to_roll: |
131 system(["git", "checkout", pre_roll_commit, "--", f], cwd=mojo_root_dir) | 132 system(["git", "checkout", pre_roll_commit, "--", f], cwd=mojo_root_dir) |
132 if files_not_to_roll: | 133 if files_not_to_roll: |
133 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") |
134 return 0 | 135 return 0 |
135 | 136 |
136 if __name__ == "__main__": | 137 if __name__ == "__main__": |
137 sys.exit(main()) | 138 sys.exit(main()) |
OLD | NEW |