Chromium Code Reviews| Index: platform_tools/android/tests/helpers.py |
| diff --git a/platform_tools/android/tests/helpers.py b/platform_tools/android/tests/helpers.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e95a15c3949064381427403448ae4d9f4ee4cc9c |
| --- /dev/null |
| +++ b/platform_tools/android/tests/helpers.py |
| @@ -0,0 +1,22 @@ |
| +#!/usr/bin/python |
| + |
| +# Copyright 2014 Google Inc. |
| +# |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +""" |
| +Common code for tests. |
|
epoger
2014/02/06 14:35:17
optional: seems like this module is really more a
scroggo
2014/02/06 15:13:35
Done.
I think I expected to pull more code in her
|
| +""" |
| + |
| +import os |
| + |
| +# Find this file so we can find the python files to test. |
| +SCRIPT_DIR = os.path.dirname(__file__) |
| +ANDROID_DIR = os.path.normpath(os.path.join(SCRIPT_DIR, os.pardir)) |
| + |
| +# Path to gyp_to_android. |
| +BIN_DIR = os.path.join(ANDROID_DIR, 'bin') |
| + |
| +# Path to generator files. |
| +GYP_GEN_DIR = os.path.join(ANDROID_DIR, 'gyp_gen') |