commit | ad0d40986f58de27bebd999ae6da2b9af839c77d | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Mon Mar 26 21:30:13 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 26 21:30:13 2018 +0000 |
tree | ddb44ec8c26ef2da0ef2e3b787e5a48e2ac0618e | |
parent | de348afd11929ee627c08eb456a9d4364c532b37 [diff] | |
parent | 273df2259c04ac58a586f66533539cdce0ee68ae [diff] |
Merge "perfetto: Add error message for confusing crash" am: c858d49021 am: 97da6b4ba4 am: 273df2259c Change-Id: I67481b3e2851072fcfe6a0e33bdde2c67b491f6e
This project is meant to be built both as part of the Android tree and from a standalone checkout
For internal docs see this page
Android is the platform targeted in the first milestones. Right now Linux desktop and OSX are maintained best-effort.
This project uses Android AOSP Gerrit for code reviews and uses the Google C++ style. Currently targets -std=c++11
.
You can use both git cl upload
from Chromium depot tools or Android repo to upload patches.
git cl
is quite convenient as it supports code auto-formatting via git cl format
.
See https://source.android.com/source/contributing for more details about external contributions and CLA signing.
See docs/build_instructions.md
Continuous build and test coverage is available at perfetto-ci.appspot.com. Trybots: CLs uploaded to gerrit are automatically submitted to TravisCI within one minute and made available on the CI page above. The relevant code lives in the infra/ directory.
$ tools/ninja -C out/default (tracing_unittests | tracing_benchmarks) $ out/default/tracing_unittests --gtest_help
Either connect a device in ADB mode or use the bundled emulator.
To start the emulator:$ tools/run_android_emulator (arm | arm64) &
To run the tests (either on the emulator or physical device):$ tools/run_android_test out/default tracing_unittests