android: Reimplement adb_profile_chrome in Python

adb_profile_chrome is used to capture and download traces from Chrome on
Android. To prepare for future feature improvements and reduce the
maintenance burden, rewrite this bash script in Python.

This reimplementation keeps all the features and command line options of
the original and adds these new ones:

  --trace-cc          Enable extra trace categories for compositor frame
                      viewer data.
  --trace-gpu         Enable extra trace categories for GPU data.
  -z, --compress      Compress the resulting trace with gzip.

BUG=299822,294883

Review URL: https://codereview.chromium.org/25044004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226259 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: a4e972832c4ba25bba639748d2903b9751f625ed
2 files changed
tree: 76510ecd4227f07b1bf51470236b608dda3ffabb
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/