commit | f1156bfe99aff404336fdc1dcc8c09cf422d6c9d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Sep 21 15:28:39 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Tue Sep 22 10:03:12 2020 -0700 |
tree | 2d3dec92944c8190b1ec2c428453d1a364c25b0b | |
parent | c6664346c02076f82445402f17f7c3b990a4656e [diff] |
simpleperf: fix scripts. 1. NDK may appear in either <sdk_path>/ndk/<ndk_version> or <sdk_path>/ndk-bundle (the old way). So refactor find_tool_path() in utils.py to support both. 2. Run inferno.py as a script instead of module, otherwise it doesn't work in python3. 3. Use AdbHelper in test_monitor.py. Bug: 169090018 Test: run test_monitor.py on linux/darwin/windows. Change-Id: Ie7e65436a00022195bac3b657b4b0401e9e4548c