Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium/api.py |
| diff --git a/scripts/slave/recipe_modules/chromium/api.py b/scripts/slave/recipe_modules/chromium/api.py |
| index eed50545ce7a30f2a7fb17f8f88afcacc2c52f31..aeecd376561b4a7a011b13e8324f43586e47449e 100644 |
| --- a/scripts/slave/recipe_modules/chromium/api.py |
| +++ b/scripts/slave/recipe_modules/chromium/api.py |
| @@ -870,12 +870,16 @@ class ChromiumApi(recipe_api.RecipeApi): |
| infra_step=True, |
| **kwargs) |
| - def list_perf_tests(self, browser, num_shards, device=None): |
| + def list_perf_tests(self, browser, num_shards, device=None, |
| + pass_adb_path=False): |
| args = ['list', '--browser', browser, '--json-output', |
| self.m.json.output(), '--num-shards', num_shards] |
| if device: |
| args += ['--device', device] |
| + if pass_adb_path: |
| + args.extend(['--adb-path', self.m.adb.adb_path()]) |
|
jbudorick
2016/11/11 22:47:57
This shouldn't be here. run_benchmark doesn't supp
|
| + |
| return self.m.python( |
| 'List Perf Tests', |
| self.m.path['checkout'].join('tools', 'perf', 'run_benchmark'), |