X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftools%2Ftelemetry%2Ftelemetry%2Fcore%2Fplatform%2Fprofiler%2Fandroid_prebuilt_profiler_helper.py;h=5974f1db26c2e5ed777d916c47e4ebcad27ba93e;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=d2c87c6b1b83fdf9a06b4c22044e9dda714237ea;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py b/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py index d2c87c6..5974f1d 100644 --- a/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py +++ b/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py @@ -19,13 +19,14 @@ def GetDevicePath(profiler_binary): @decorators.Cache def InstallOnDevice(device, profiler_binary): - host_path = support_binaries.FindPath(profiler_binary, 'android') + arch_name = device.GetABI() + host_path = support_binaries.FindPath(profiler_binary, arch_name, 'android') if not host_path: logging.error('Profiler binary "%s" not found. Could not be installed', host_path) return False device_binary_path = GetDevicePath(profiler_binary) - device.PushChangedFiles(host_path, device_binary_path) + device.PushChangedFiles([(host_path, device_binary_path)]) device.RunShellCommand('chmod 777 ' + device_binary_path) return True