| Index: scripts/slave/recipe_modules/chromium_android/api.py
|
| diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
|
| index e758713e7208befa07dfc030d257e2b6e93008b6..f7de2d772b498e10a6301ec2658f9e73ef83cef9 100644
|
| --- a/scripts/slave/recipe_modules/chromium_android/api.py
|
| +++ b/scripts/slave/recipe_modules/chromium_android/api.py
|
| @@ -502,8 +502,9 @@ class AndroidApi(recipe_api.RecipeApi):
|
| 'android',
|
| 'adb_install_apk.py'),
|
| apk, '-v', '--blacklist-file', self.blacklist_file,
|
| - '--adb-path', self.m.adb.adb_path(),
|
| ]
|
| + if int(self.m.chromium.get_version().get('MAJOR', 0)) > 50:
|
| + install_cmd += ['--adb-path', self.m.adb.adb_path()]
|
| if devices and isinstance(devices, list):
|
| for d in devices:
|
| install_cmd += ['-d', d]
|
|
|