OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 import imp | 5 import imp |
6 import os | 6 import os |
7 import sys | 7 import sys |
8 import urllib | 8 import urllib |
9 | 9 |
10 # Directory path in which to save bootstrap files. | 10 # Directory path in which to save bootstrap files. |
(...skipping 21 matching lines...) Expand all Loading... |
32 bootstrap.DownloadDepsURL(os.path.join(os.path.dirname(__file__), | 32 bootstrap.DownloadDepsURL(os.path.join(os.path.dirname(__file__), |
33 BOOTSTRAPPED_FILES_DIR), | 33 BOOTSTRAPPED_FILES_DIR), |
34 module_deps_url) | 34 module_deps_url) |
35 | 35 |
36 | 36 |
37 if __name__ == '__main__': | 37 if __name__ == '__main__': |
38 bootstrapIfNeeded('perf_tools', 'src/tools/perf', | 38 bootstrapIfNeeded('perf_tools', 'src/tools/perf', |
39 'http://src.chromium.org/viewvc/chrome/trunk/src/tools/' + | 39 'http://src.chromium.org/viewvc/chrome/trunk/src/tools/' + |
40 'perf/perf_lib/bootstrap_deps') | 40 'perf/perf_lib/bootstrap_deps') |
41 import perf_tools | 41 import perf_tools |
42 from telemetry import multi_page_benchmark_runner | 42 from telemetry.page import multi_page_benchmark_runner |
43 benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools') | 43 benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools') |
44 sys.exit(multi_page_benchmark_runner.Main(benchmark_dir)) | 44 sys.exit(multi_page_benchmark_runner.Main(benchmark_dir)) |
OLD | NEW |