| 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 GeomMeanAndStdDevFromHistogram = \ | 21 GeomMeanAndStdDevFromHistogram = \ |
| 22 perf_tests_helper.GeomMeanAndStdDevFromHistogram | 22 perf_tests_helper.GeomMeanAndStdDevFromHistogram |
| 23 PrintPerfResult = \ | 23 PrintPerfResult = \ |
| 24 perf_tests_helper.PrintPerfResult | 24 perf_tests_helper.PrintPerfResult |
| 25 PrintPages = \ |
| 26 perf_tests_helper.PrintPages |
| 25 | 27 |
| OLD | NEW |