Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 from __future__ import absolute_import | 4 from __future__ import absolute_import |
| 5 | 5 |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 def __init__(): | 9 def __init__(): |
| 10 path = os.path.join(os.path.dirname(__file__), | 10 path = os.path.join(os.path.dirname(__file__), |
| 11 '..', '..', '..', '..', 'build', 'android') | 11 '..', '..', '..', '..', 'build', 'android') |
| 12 path = os.path.abspath(path) | 12 path = os.path.abspath(path) |
| 13 assert os.path.exists(os.path.join(path, | 13 assert os.path.exists(os.path.join(path, |
| 14 'pylib', '__init__.py')) | 14 'pylib', '__init__.py')) |
| 15 if path not in sys.path: | 15 if path not in sys.path: |
| 16 sys.path.append(path) | 16 sys.path.append(path) |
| 17 | 17 |
| 18 __init__() | 18 __init__() |
| 19 | 19 |
| 20 from pylib import perf_tests_helper # pylint: disable=F0401 | 20 from pylib import perf_tests_helper # pylint: disable=F0401 |
| 21 CacheControl = \ | |
| 22 perf_tests_helper.CacheControl | |
|
dtu
2013/07/29 22:19:28
Oh, that's why :)
Uhm, this method is Android-spe
| |
| 21 GeomMeanAndStdDevFromHistogram = \ | 23 GeomMeanAndStdDevFromHistogram = \ |
| 22 perf_tests_helper.GeomMeanAndStdDevFromHistogram | 24 perf_tests_helper.GeomMeanAndStdDevFromHistogram |
| 23 PrintPerfResult = \ | 25 PrintPerfResult = \ |
| 24 perf_tests_helper.PrintPerfResult | 26 perf_tests_helper.PrintPerfResult |
| 25 PrintPages = \ | 27 PrintPages = \ |
| 26 perf_tests_helper.PrintPages | 28 perf_tests_helper.PrintPages |
| 27 | 29 |
| OLD | NEW |