| Index: build/android/devil/android/sdk/split_select.py
|
| diff --git a/build/android/devil/android/sdk/split_select.py b/build/android/devil/android/sdk/split_select.py
|
| index 4e20bee5e7b85f15be1218c3568328b73a973e8a..47fcea3cea616c9cdad4d593489e3e3c612be011 100644
|
| --- a/build/android/devil/android/sdk/split_select.py
|
| +++ b/build/android/devil/android/sdk/split_select.py
|
| @@ -6,9 +6,10 @@
|
|
|
| import os
|
|
|
| -from devil import devil_env
|
| from devil.utils import cmd_helper
|
| +from pylib import constants
|
|
|
| +_SPLIT_SELECT_PATH = os.path.join(constants.ANDROID_SDK_TOOLS, 'split-select')
|
|
|
| def _RunSplitSelectCmd(args):
|
| """Runs a split-select command.
|
| @@ -19,9 +20,7 @@
|
| Returns:
|
| The output of the command.
|
| """
|
| - split_select_path = os.path.join(
|
| - devil_env.config.android_sdk_build_tools_path, 'split-select')
|
| - cmd = [split_select_path] + args
|
| + cmd = [_SPLIT_SELECT_PATH] + args
|
| status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
|
| if status != 0:
|
| raise Exception('Failed running command "%s" with output "%s".' %
|
|
|